Introduce teal_data class #1821
10 errors, 17 fail, 144 pass in 13s
Annotations
Check warning on line 0 in init
github-actions / Unit Tests Summary
2 out of 3 runs failed: init_data_accepts_TealData_objects (init)
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(data = teal_data_object, modules = mods)` threw an error. ('test-init.R:12:3')
`init(data = teal_data_object, modules = mods)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in iris
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-init.R:12:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(data = teal_data_object, modules = mods)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
All 4 runs failed: init_data_accepts_a_single_TealDataset_CDISCTealDataset (init)
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(data = teal.data::dataset("iris", head(iris)), modules = mods)` threw an error. ('test-init.R:30:3')
`init(data = teal.data::dataset("iris", head(iris)), modules = mods)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in iris
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-init.R:30:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(data = teal.data::dataset("iris", head(iris)), modules = mods)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
All 4 runs failed: init_data_accepts_a_list_of_single_TealDataset_CDISCTealDataset_without_renaming (init)
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(data = list(teal.data::dataset("iris", head(iris))), modules = mods)` threw an error. ('test-init.R:48:3')
`init(data = list(teal.data::dataset("iris", head(iris))), modules = mods)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in iris
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-init.R:48:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(...)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
init_data_accepts_a_single_dataframe (init) failed
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(data = adsl_df, modules = mods)` threw an error. ('test-init.R:60:3')
`init(data = adsl_df, modules = mods)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in adsl_df
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-init.R:60:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(data = adsl_df, modules = mods)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
init_data_accepts_a_list_of_single_dataframe_without_renaming (init) failed
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(data = list(adsl_df), modules = mods)` threw an error. ('test-init.R:64:3')
`init(data = list(adsl_df), modules = mods)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in adsl_df
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-init.R:64:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(data = list(adsl_df), modules = mods)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
All 2 runs failed: init_data_accepts_a_list_of_single_dataframe_with_renaming (init)
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(data = list(data1 = adsl_df), modules = mods)` threw an error. ('test-init.R:69:3')
`init(data = list(data1 = adsl_df), modules = mods)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in data1
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-init.R:69:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(data = list(data1 = adsl_df), modules = mods)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
init_data_accepts_a_list_of_a_TealDataset_and_a_dataframe_without_renaming (init) failed
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(data = list(dataset_1, adsl_df), modules = mods)` threw an error. ('test-init.R:74:3')
`init(data = list(dataset_1, adsl_df), modules = mods)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in iris, adsl_df
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-init.R:74:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(data = list(dataset_1, adsl_df), modules = mods)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
init_data_accepts_a_single_MultiAssayExperiment_object (init) failed
teal.Rcheck/tests/testthat/junit-result.xml [took 5s]
Raw output
`init(data = miniACC, modules = mods)` threw an error. ('test-init.R:79:3')
`init(data = miniACC, modules = mods)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in MAE
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-init.R:79:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(data = miniACC, modules = mods)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
init_data_accepts_a_list_of_a_single_MultiAssayExperiment_object_without_renaming (init) failed
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(data = list(miniACC), modules = mods)` threw an error. ('test-init.R:84:3')
`init(data = list(miniACC), modules = mods)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in miniACC
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-init.R:84:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(data = list(miniACC), modules = mods)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
init_data_accepts_a_list_of_a_single_MultiAssayExperiment_object_with_renaming (init) failed
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(data = list(x = miniACC), modules = mods)` threw an error. ('test-init.R:89:3')
`init(data = list(x = miniACC), modules = mods)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in x
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-init.R:89:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(data = list(x = miniACC), modules = mods)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
init_data_acceptsa_mixed_list_of_MultiAssayExperiment_object_and_data.frame (init) failed
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(data = list(x = miniACC, y = head(iris)), modules = mods)` threw an error. ('test-init.R:94:3')
`init(data = list(x = miniACC, y = head(iris)), modules = mods)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in x, y
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-init.R:94:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(data = list(x = miniACC, y = head(iris)), modules = mods)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
All 2 runs failed: init_data_accepts_a_list_of_a_TealDataset_and_a_dataframe_with_renaming (init)
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(...)` threw an error. ('test-init.R:98:3')
`init(...)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in iris, data2
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-init.R:98:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(...)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
All 2 runs failed: init_data_accepts_a_list_of_mixed_TealDataset_and_dataframe_with_mixed_renaming (init)
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(...)` threw an error. ('test-init.R:109:3')
`init(...)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in iris, adsl_df
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-init.R:109:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(...)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
All 2 runs failed: init_data_accepts_TealDatasetConnector_object (init)
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(data = dsc1, modules = mods)` threw an error. ('test-init.R:115:3')
`init(data = dsc1, modules = mods)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in iris
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(init(data = dsc1, modules = mods), NA) at test-init.R:115:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(data = dsc1, modules = mods)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
All 2 runs failed: init_data_accepts_a_list_of_TealDatasetConnector_object (init)
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`init(data = dsc1, modules = mods)` threw an error. ('test-init.R:124:3')
`init(data = dsc1, modules = mods)` threw an error.
Message: Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in iris
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(init(data = dsc1, modules = mods), NA) at test-init.R:124:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─teal::init(data = dsc1, modules = mods)
7. └─teal (local) resolve_modules_datanames(modules = modules)
8. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
9. └─base::lapply(X = X, FUN = FUN, ...)
10. └─teal (local) FUN(X[[i]], ...)
11. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
12. └─base::lapply(X = X, FUN = FUN, ...)
13. └─teal (local) FUN(X[[i]], ...)
14. └─base::sapply(modules$children, resolve_modules_datanames, simplify = FALSE)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─teal (local) FUN(X[[i]], ...)
Check warning on line 0 in init
github-actions / Unit Tests Summary
2 out of 5 runs failed: init_filter_accepts_named_list_or_teal_slices_ (init)
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Expected `init(data = dataset_1, modules = mods, filter = fl)` to run without any errors. ('test-init.R:157:3')
Expected `init(data = dataset_1, modules = mods, filter = fl)` to run without any errors.
ℹ Actually got a <simpleError> with text:
Module aaa1 has datanames that are not available in a 'data':
ADSL, ADTTE not in iris
Check failure on line 0 in module_nested_tabs
github-actions / Unit Tests Summary
calculate_hashes_takes_a_FilteredData_and_vector_of_datanames_as_input (module_nested_tabs) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `parse(text = x, keep.source = FALSE)`: <text>:2:83: unexpected symbol ('test-module_nested_tabs.R:487:3')
Error in `parse(text = x, keep.source = FALSE)`: <text>:2:83: unexpected symbol
1: init_filtered_data(
2: x = 'constructor based on TealData is deprecated and will be removed soon'.
^
Backtrace:
▆
1. ├─teal.slice::init_filtered_data(...) at test-module_nested_tabs.R:487:2
2. └─teal.slice:::init_filtered_data.TealData(...)
3. └─lifecycle::deprecate_warn(when = "0.4.1", "init_filtered_data(\n x = 'constructor based on TealData is deprecated and will be removed soon'.\n Please use generic init_filtered_data and specify all arguments directly.\n )")
4. └─lifecycle::signal_stage("deprecated", what)
5. └─lifecycle:::spec(what, env = env)
6. └─lifecycle:::parse_what(spec, ctxt = ctxt)
7. └─rlang::parse_expr(what)
8. └─rlang:::chr_parse(paste_line(x))
9. └─base::parse(text = x, keep.source = FALSE)
Check failure on line 0 in module_nested_tabs
github-actions / Unit Tests Summary
calculate_hashes_returns_a_named_list (module_nested_tabs) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `parse(text = x, keep.source = FALSE)`: <text>:2:83: unexpected symbol ('test-module_nested_tabs.R:503:3')
Error in `parse(text = x, keep.source = FALSE)`: <text>:2:83: unexpected symbol
1: init_filtered_data(
2: x = 'constructor based on TealData is deprecated and will be removed soon'.
^
Backtrace:
▆
1. ├─teal.slice::init_filtered_data(...) at test-module_nested_tabs.R:503:2
2. └─teal.slice:::init_filtered_data.TealData(...)
3. └─lifecycle::deprecate_warn(when = "0.4.1", "init_filtered_data(\n x = 'constructor based on TealData is deprecated and will be removed soon'.\n Please use generic init_filtered_data and specify all arguments directly.\n )")
4. └─lifecycle::signal_stage("deprecated", what)
5. └─lifecycle:::spec(what, env = env)
6. └─lifecycle:::parse_what(spec, ctxt = ctxt)
7. └─rlang::parse_expr(what)
8. └─rlang:::chr_parse(paste_line(x))
9. └─base::parse(text = x, keep.source = FALSE)
Check failure on line 0 in module_nested_tabs
github-actions / Unit Tests Summary
calculate_hashes_returns_the_hash_of_the_non_Filtered_dataset (module_nested_tabs) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `parse(text = x, keep.source = FALSE)`: <text>:2:83: unexpected symbol ('test-module_nested_tabs.R:525:3')
Error in `parse(text = x, keep.source = FALSE)`: <text>:2:83: unexpected symbol
1: init_filtered_data(
2: x = 'constructor based on TealData is deprecated and will be removed soon'.
^
Backtrace:
▆
1. ├─teal.slice::init_filtered_data(...) at test-module_nested_tabs.R:525:2
2. └─teal.slice:::init_filtered_data.TealData(...)
3. └─lifecycle::deprecate_warn(when = "0.4.1", "init_filtered_data(\n x = 'constructor based on TealData is deprecated and will be removed soon'.\n Please use generic init_filtered_data and specify all arguments directly.\n )")
4. └─lifecycle::signal_stage("deprecated", what)
5. └─lifecycle:::spec(what, env = env)
6. └─lifecycle:::parse_what(spec, ctxt = ctxt)
7. └─rlang::parse_expr(what)
8. └─rlang:::chr_parse(paste_line(x))
9. └─base::parse(text = x, keep.source = FALSE)
Check failure on line 0 in module_teal
github-actions / Unit Tests Summary
srv_teal_initializes_the_data_when_raw_data_changes (module_teal) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
<shiny.silent.error/validation/error/condition> ('test-module_teal.R:30:3')
<shiny.silent.error/validation/error/condition>
Error:
Backtrace:
▆
1. ├─shiny::testServer(...) at test-module_teal.R:30:2
2. │ ├─shiny:::withMockContext(...)
3. │ │ ├─shiny::isolate(...)
4. │ │ │ ├─shiny::..stacktraceoff..(...)
5. │ │ │ └─ctx$run(...)
6. │ │ │ ├─promises::with_promise_domain(...)
7. │ │ │ │ └─domain$wrapSync(expr)
8. │ │ │ ├─shiny::withReactiveDomain(...)
9. │ │ │ │ └─promises::with_promise_domain(...)
10. │ │ │ │ └─domain$wrapSync(expr)
11. │ │ │ │ └─base::force(expr)
12. │ │ │ └─env$runWith(self, func)
13. │ │ │ └─shiny (local) contextFunc()
14. │ │ │ └─shiny::..stacktraceon..(expr)
15. │ │ ├─shiny::withReactiveDomain(...)
16. │ │ │ └─promises::with_promise_domain(...)
17. │ │ │ └─domain$wrapSync(expr)
18. │ │ │ └─base::force(expr)
19. │ │ └─withr::with_options(...)
20. │ │ └─base::force(code)
21. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
22. ├─testthat::expect_null(datasets_reactive()) at test-module_teal.R:38:6
23. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
24. │ └─rlang::eval_bare(expr, quo_get_env(quo))
25. └─shiny (local) datasets_reactive()
26. ├─shiny::..stacktraceoff..(self$.updateValue())
27. └─self$.updateValue()
28. └─ctx$run(...)
29. ├─promises::with_promise_domain(...)
30. │ └─domain$wrapSync(expr)
31. ├─shiny::withReactiveDomain(...)
32. │ └─promises::with_promise_domain(...)
33. │ └─domain$wrapSync(expr)
34. │ └─base::force(expr)
35. └─env$runWith(self, func)
36. └─shiny (local) contextFunc()
37. ├─base::withCallingHandlers(...)
38. ├─base::withVisible(.func())
39. └─shiny (local) .func()
40. └─shiny (local) `<reactive:eventReactive(raw_data())>`(...)
41. └─shiny:::hybrid_chain(...)
42. └─shiny (local) do()
43. └─base::tryCatch(...)
44. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
45. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
46. └─value[[3L]](cond)
Check failure on line 0 in module_teal
github-actions / Unit Tests Summary
srv_teal_initialized_data_list_structure_reflects_modules (module_teal) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `teal_data_to_filtered_data(raw_data())`: Assertion on 'x' failed: Must inherit from class 'teal_data', but has classes 'TealData','TealDataAbstract','R6'. ('test-module_teal.R:46:3')
Error in `teal_data_to_filtered_data(raw_data())`: Assertion on 'x' failed: Must inherit from class 'teal_data', but has classes 'TealData','TealDataAbstract','R6'.
Backtrace:
▆
1. ├─shiny::testServer(...) at test-module_teal.R:46:2
2. │ ├─shiny:::withMockContext(...)
3. │ │ ├─shiny::isolate(...)
4. │ │ │ ├─shiny::..stacktraceoff..(...)
5. │ │ │ └─ctx$run(...)
6. │ │ │ ├─promises::with_promise_domain(...)
7. │ │ │ │ └─domain$wrapSync(expr)
8. │ │ │ ├─shiny::withReactiveDomain(...)
9. │ │ │ │ └─promises::with_promise_domain(...)
10. │ │ │ │ └─domain$wrapSync(expr)
11. │ │ │ │ └─base::force(expr)
12. │ │ │ └─env$runWith(self, func)
13. │ │ │ └─shiny (local) contextFunc()
14. │ │ │ └─shiny::..stacktraceon..(expr)
15. │ │ ├─shiny::withReactiveDomain(...)
16. │ │ │ └─promises::with_promise_domain(...)
17. │ │ │ └─domain$wrapSync(expr)
18. │ │ │ └─base::force(expr)
19. │ │ └─withr::with_options(...)
20. │ │ └─base::force(code)
21. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
22. ├─testthat::expect_named(datasets_reactive(), c("iris_tab", "tab")) at test-module_teal.R:55:6
23. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
24. │ └─rlang::eval_bare(expr, quo_get_env(quo))
25. └─shiny (local) datasets_reactive()
26. ├─shiny::..stacktraceoff..(self$.updateValue())
27. └─self$.updateValue()
28. └─ctx$run(...)
29. ├─promises::with_promise_domain(...)
30. │ └─domain$wrapSync(expr)
31. ├─shiny::withReactiveDomain(...)
32. │ └─promises::with_promise_domain(...)
33. │ └─domain$wrapSync(expr)
34. │ └─base::force(expr)
35. └─env$runWith(self, func)
36. └─shiny (local) contextFunc()
37. ├─base::withCallingHandlers(...)
38. ├─base::withVisible(.func())
39. └─shiny (local) .func()
40. └─shiny (local) `<reactive:eventReactive(raw_data())>`(...)
41. └─shiny:::hybrid_chain(...)
42. └─shiny (local) do()
43. └─base::tryCatch(...)
44. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
45. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
46. └─value[[3L]](cond)
Check failure on line 0 in module_teal
github-actions / Unit Tests Summary
srv_teal_initialized_data_containing_same_FilteredData_when_the_filter_is_global (module_teal) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `teal_data_to_filtered_data(raw_data())`: Assertion on 'x' failed: Must inherit from class 'teal_data', but has classes 'TealData','TealDataAbstract','R6'. ('test-module_teal.R:62:3')
Error in `teal_data_to_filtered_data(raw_data())`: Assertion on 'x' failed: Must inherit from class 'teal_data', but has classes 'TealData','TealDataAbstract','R6'.
Backtrace:
▆
1. ├─shiny::testServer(...) at test-module_teal.R:62:2
2. │ ├─shiny:::withMockContext(...)
3. │ │ ├─shiny::isolate(...)
4. │ │ │ ├─shiny::..stacktraceoff..(...)
5. │ │ │ └─ctx$run(...)
6. │ │ │ ├─promises::with_promise_domain(...)
7. │ │ │ │ └─domain$wrapSync(expr)
8. │ │ │ ├─shiny::withReactiveDomain(...)
9. │ │ │ │ └─promises::with_promise_domain(...)
10. │ │ │ │ └─domain$wrapSync(expr)
11. │ │ │ │ └─base::force(expr)
12. │ │ │ └─env$runWith(self, func)
13. │ │ │ └─shiny (local) contextFunc()
14. │ │ │ └─shiny::..stacktraceon..(expr)
15. │ │ ├─shiny::withReactiveDomain(...)
16. │ │ │ └─promises::with_promise_domain(...)
17. │ │ │ └─domain$wrapSync(expr)
18. │ │ │ └─base::force(expr)
19. │ │ └─withr::with_options(...)
20. │ │ └─base::force(code)
21. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
22. ├─base::unlist(datasets_reactive(), use.names = FALSE) at test-module_teal.R:72:6
23. └─shiny (local) datasets_reactive()
24. ├─shiny::..stacktraceoff..(self$.updateValue())
25. └─self$.updateValue()
26. └─ctx$run(...)
27. ├─promises::with_promise_domain(...)
28. │ └─domain$wrapSync(expr)
29. ├─shiny::withReactiveDomain(...)
30. │ └─promises::with_promise_domain(...)
31. │ └─domain$wrapSync(expr)
32. │ └─base::force(expr)
33. └─env$runWith(self, func)
34. └─shiny (local) contextFunc()
35. ├─base::withCallingHandlers(...)
36. ├─base::withVisible(.func())
37. └─shiny (local) .func()
38. └─shiny (local) `<reactive:eventReactive(raw_data())>`(...)
39. └─shiny:::hybrid_chain(...)
40. └─shiny (local) do()
41. └─base::tryCatch(...)
42. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
43. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
44. └─value[[3L]](cond)
Check failure on line 0 in module_teal
github-actions / Unit Tests Summary
srv_teal_initialized_data_containing_different_FilteredData_when_the_filter_is_module_specific (module_teal) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `teal_data_to_filtered_data(raw_data())`: Assertion on 'x' failed: Must inherit from class 'teal_data', but has classes 'TealData','TealDataAbstract','R6'. ('test-module_teal.R:80:3')
Error in `teal_data_to_filtered_data(raw_data())`: Assertion on 'x' failed: Must inherit from class 'teal_data', but has classes 'TealData','TealDataAbstract','R6'.
Backtrace:
▆
1. ├─shiny::testServer(...) at test-module_teal.R:80:2
2. │ ├─shiny:::withMockContext(...)
3. │ │ ├─shiny::isolate(...)
4. │ │ │ ├─shiny::..stacktraceoff..(...)
5. │ │ │ └─ctx$run(...)
6. │ │ │ ├─promises::with_promise_domain(...)
7. │ │ │ │ └─domain$wrapSync(expr)
8. │ │ │ ├─shiny::withReactiveDomain(...)
9. │ │ │ │ └─promises::with_promise_domain(...)
10. │ │ │ │ └─domain$wrapSync(expr)
11. │ │ │ │ └─base::force(expr)
12. │ │ │ └─env$runWith(self, func)
13. │ │ │ └─shiny (local) contextFunc()
14. │ │ │ └─shiny::..stacktraceon..(expr)
15. │ │ ├─shiny::withReactiveDomain(...)
16. │ │ │ └─promises::with_promise_domain(...)
17. │ │ │ └─domain$wrapSync(expr)
18. │ │ │ └─base::force(expr)
19. │ │ └─withr::with_options(...)
20. │ │ └─base::force(code)
21. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
22. ├─base::unlist(datasets_reactive(), use.names = FALSE) at test-module_teal.R:90:6
23. └─shiny (local) datasets_reactive()
24. ├─shiny::..stacktraceoff..(self$.updateValue())
25. └─self$.updateValue()
26. └─ctx$run(...)
27. ├─promises::with_promise_domain(...)
28. │ └─domain$wrapSync(expr)
29. ├─shiny::withReactiveDomain(...)
30. │ └─promises::with_promise_domain(...)
31. │ └─domain$wrapSync(expr)
32. │ └─base::force(expr)
33. └─env$runWith(self, func)
34. └─shiny (local) contextFunc()
35. ├─base::withCallingHandlers(...)
36. ├─base::withVisible(.func())
37. └─shiny (local) .func()
38. └─shiny (local) `<reactive:eventReactive(raw_data())>`(...)
39. └─shiny:::hybrid_chain(...)
40. └─shiny (local) do()
41. └─base::tryCatch(...)
42. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
43. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
44. └─value[[3L]](cond)
Check warning on line 0 in module_teal_with_splash
github-actions / Unit Tests Summary
1 out of 2 runs failed: srv_teal_with_splash_creates_reactiveVal_returning_data_input (module_teal_with_splash)
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
raw_data() not identical to `data`. ('test-module_teal_with_splash.R:11:3')
raw_data() not identical to `data`.
'target' is not an environment
Backtrace:
▆
1. ├─shiny::testServer(...) at test-module_teal_with_splash.R:11:2
2. │ ├─shiny:::withMockContext(...)
3. │ │ ├─shiny::isolate(...)
4. │ │ │ ├─shiny::..stacktraceoff..(...)
5. │ │ │ └─ctx$run(...)
6. │ │ │ ├─promises::with_promise_domain(...)
7. │ │ │ │ └─domain$wrapSync(expr)
8. │ │ │ ├─shiny::withReactiveDomain(...)
9. │ │ │ │ └─promises::with_promise_domain(...)
10. │ │ │ │ └─domain$wrapSync(expr)
11. │ │ │ │ └─base::force(expr)
12. │ │ │ └─env$runWith(self, func)
13. │ │ │ └─shiny (local) contextFunc()
14. │ │ │ └─shiny::..stacktraceon..(expr)
15. │ │ ├─shiny::withReactiveDomain(...)
16. │ │ │ └─promises::with_promise_domain(...)
17. │ │ │ └─domain$wrapSync(expr)
18. │ │ │ └─base::force(expr)
19. │ │ └─withr::with_options(...)
20. │ │ └─base::force(code)
21. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
22. └─testthat::expect_identical(raw_data(), data) at test-module_teal_with_splash.R:20:6
Check failure on line 0 in module_teal_with_splash
github-actions / Unit Tests Summary
srv_teal_with_splash_creates_raw_data_based_on_DDL_returns_NULL_before_loading (module_teal_with_splash) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'data' in selecting a method for function 'new_teal_data': attempt to apply non-function ('test-module_teal_with_splash.R:28:3')
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'data' in selecting a method for function 'new_teal_data': attempt to apply non-function
Backtrace:
▆
1. ├─shiny::testServer(...) at test-module_teal_with_splash.R:28:2
2. │ ├─shiny:::withMockContext(...)
3. │ │ ├─shiny::isolate(...)
4. │ │ │ ├─shiny::..stacktraceoff..(...)
5. │ │ │ └─ctx$run(...)
6. │ │ │ ├─promises::with_promise_domain(...)
7. │ │ │ │ └─domain$wrapSync(expr)
8. │ │ │ ├─shiny::withReactiveDomain(...)
9. │ │ │ │ └─promises::with_promise_domain(...)
10. │ │ │ │ └─domain$wrapSync(expr)
11. │ │ │ │ └─base::force(expr)
12. │ │ │ └─env$runWith(self, func)
13. │ │ │ └─shiny (local) contextFunc()
14. │ │ │ └─shiny::..stacktraceon..(expr)
15. │ │ ├─shiny::withReactiveDomain(...)
16. │ │ │ └─promises::with_promise_domain(...)
17. │ │ │ └─domain$wrapSync(expr)
18. │ │ │ └─base::force(expr)
19. │ │ └─withr::with_options(...)
20. │ │ └─base::force(code)
21. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
22. ├─testthat::expect_null(raw_data())
23. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
24. │ └─rlang::eval_bare(expr, quo_get_env(quo))
25. ├─shiny (local) raw_data()
26. │ ├─shiny::..stacktraceoff..(self$.updateValue())
27. │ └─self$.updateValue()
28. │ └─ctx$run(...)
29. │ ├─promises::with_promise_domain(...)
30. │ │ └─domain$wrapSync(expr)
31. │ ├─shiny::withReactiveDomain(...)
32. │ │ └─promises::with_promise_domain(...)
33. │ │ └─domain$wrapSync(expr)
34. │ │ └─base::force(expr)
35. │ └─env$runWith(self, func)
36. │ └─shiny (local) contextFunc()
37. │ ├─base::withCallingHandlers(...)
38. │ ├─base::withVisible(.func())
39. │ └─shiny (local) .func()
40. │ ├─shiny::..stacktraceon..(`<reactive>`(...))
41. │ └─teal (local) `<reactive>`(...)
42. │ ├─teal.data::new_teal_data(...)
43. │ └─base::lapply(data$get_datasets(), function(x) x$get_raw_data())
44. └─base::.handleSimpleError(...)
45. └─base (local) h(simpleError(msg, call))