812 landing popup #1249
GitHub Actions / Unit Tests Summary
failed
Oct 23, 2023 in 0s
1 fail, 177 pass in 13s
Annotations
Check warning on line 0 in modules
github-actions / Unit Tests Summary
1 out of 2 runs failed: modules_does_not_accept_objects_other_than_teal_module_s_in_... (modules)
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`modules(label = "label", 5)` threw an error with unexpected message. ('test-modules.R:187:3')
`modules(label = "label", 5)` threw an error with unexpected message.
Expected match: "the following types: \\{teal_module,teal_modules\\}"
Actual message: "Assertion on 'submodules' failed: May only contain the following types: {teal_module,teal_module_reporter,teal_module_landing,teal_modules}, but element 1 has type 'numeric'."
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-modules.R:187: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::modules(label = "label", 5)
7. └─checkmate::assert_list(...)
8. └─checkmate::makeAssertion(x, res, .var.name, add)
9. └─checkmate:::mstop(...)
Loading