Skip to content

Introduce teal_data class #1223

Introduce teal_data class

Introduce teal_data class #1223

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Unit Tests Summary failed Oct 17, 2023 in 0s

8 errors, 16 fail, 148 pass in 19s

    1 files    16 suites   19s ⏱️
172 tests 148 ✔️ 0 💤 16  8 🔥
344 runs  307 ✔️ 0 💤 29  8 🔥

Results for commit 0185fb7.

Annotations

Check warning on line 0 in init

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

init_data_accepts_a_single_MultiAssayExperiment_object (init) failed

teal.Rcheck/tests/testthat/junit-result.xml [took 6s]
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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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_teal

See this annotation in the file changed.

@github-actions 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:38:7')
<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

See this annotation in the file changed.

@github-actions 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:55:7')
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

See this annotation in the file changed.

@github-actions 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:72:7')
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

See this annotation in the file changed.

@github-actions 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:90:7')
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 failure on line 0 in module_teal_with_splash

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

srv_teal_with_splash_creates_reactiveVal_returning_data_input (module_teal_with_splash) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `checkSlotAssignment(object, name, value)`: assignment of an object of class "character" is not valid for slot 'code' in an object of class "qenv"; is(value, "expression") is not TRUE ('test-module_teal_with_splash.R:11:3')
Error in `checkSlotAssignment(object, name, value)`: assignment of an object of class "character" is not valid for slot 'code' in an object of class "qenv"; is(value, "expression") is not TRUE
Backtrace:
     ▆
  1. └─shiny::testServer(...) at test-module_teal_with_splash.R:11:2
  2.   ├─shiny:::withMockContext(session, rlang::exec(app, !!!args))
  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::exec(app, !!!args)
 22.   └─teal (local) `<fn>`(id = "test", data = `<TealData>`, modules = `<tel_mdls>`)
 23.     └─shiny::moduleServer(...)
 24.       ├─session$setReturned(callModule(module, id, session = session))
 25.       └─shiny::callModule(module, id, session = session)
 26.         ├─shiny::withReactiveDomain(...)
 27.         │ └─promises::with_promise_domain(...)
 28.         │   └─domain$wrapSync(expr)
 29.         │     └─base::force(expr)
 30.         └─teal::module(...)
 31.           ├─teal.data::new_teal_data(...)
 32.           └─teal.data::new_teal_data(...)
 33.             └─methods::new(...)
 34.               ├─methods::initialize(value, ...)
 35.               └─methods::initialize(value, ...)
 36.                 └─methods::validObject(.Object)
 37.                   ├─methods (local) anyStrings(validityMethod(as(object, superClass)))
 38.                   │ └─base::isTRUE(x)
 39.                   ├─teal.code (local) validityMethod(as(object, superClass))
 40.                   └─methods::as(object, superClass)
 41.                     └─teal.data (local) asMethod(object)
 42.                       └─methods::`slot<-`(`*tmp*`, what, value = `<chr>`)
 43.                         └─methods::checkSlotAssignment(object, name, value)

Check failure on line 0 in module_teal_with_splash

See this annotation in the file changed.

@github-actions 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))

Check failure on line 0 in module_teal_with_splash

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

srv_teal_with_splash_creates_raw_data_based_on_DDL_returns_pulled_data_when_loaded (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:51:7')
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:43: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()) at test-module_teal_with_splash.R:51:6
 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))

Check failure on line 0 in module_teal_with_splash

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

srv_teal_with_splash_gets_observe_event_from_srv_teal (module_teal_with_splash) with error

teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `checkSlotAssignment(object, name, value)`: assignment of an object of class "character" is not valid for slot 'code' in an object of class "qenv"; is(value, "expression") is not TRUE ('test-module_teal_with_splash.R:60:3')
Error in `checkSlotAssignment(object, name, value)`: assignment of an object of class "character" is not valid for slot 'code' in an object of class "qenv"; is(value, "expression") is not TRUE
Backtrace:
     ▆
  1. └─shiny::testServer(...) at test-module_teal_with_splash.R:60:2
  2.   ├─shiny:::withMockContext(session, rlang::exec(app, !!!args))
  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::exec(app, !!!args)
 22.   └─teal (local) `<fn>`(id = "test", data = `<TealData>`, modules = `<tel_mdls>`)
 23.     └─shiny::moduleServer(...)
 24.       ├─session$setReturned(callModule(module, id, session = session))
 25.       └─shiny::callModule(module, id, session = session)
 26.         ├─shiny::withReactiveDomain(...)
 27.         │ └─promises::with_promise_domain(...)
 28.         │   └─domain$wrapSync(expr)
 29.         │     └─base::force(expr)
 30.         └─teal::module(...)
 31.           ├─teal.data::new_teal_data(...)
 32.           └─teal.data::new_teal_data(...)
 33.             └─methods::new(...)
 34.               ├─methods::initialize(value, ...)
 35.               └─methods::initialize(value, ...)
 36.                 └─methods::validObject(.Object)
 37.                   ├─methods (local) anyStrings(validityMethod(as(object, superClass)))
 38.                   │ └─base::isTRUE(x)
 39.                   ├─teal.code (local) validityMethod(as(object, superClass))
 40.                   └─methods::as(object, superClass)
 41.                     └─teal.data (local) asMethod(object)
 42.                       └─methods::`slot<-`(`*tmp*`, what, value = slot(from, what))
 43.                         └─methods::checkSlotAssignment(object, name, value)