471 remove CodeClass
from FilteredData
#1408
9 errors, 2 fail, 184 pass in 11s
Annotations
Check warning on line 0 in module_nested_tabs
github-actions / Unit Tests Summary
1 out of 2 runs failed: srv_nested_tabs.teal_module_does_pass_data_if_in_the_args_explicitly (module_nested_tabs)
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Expected `shiny::testServer(...)` to run without any errors. ('test-module_nested_tabs.R:221:3')
Expected `shiny::testServer(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
Assertion on 'code' failed: Must inherit from class 'character'/'expression', but has class 'NULL'.
Check warning on line 0 in module_nested_tabs
github-actions / Unit Tests Summary
srv_nested_tabs.teal_module_passes_data_to_the_server_module (module_nested_tabs) failed
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`shiny::testServer(...)` threw an error. ('test-module_nested_tabs.R:242:3')
`shiny::testServer(...)` threw an error.
Message: Assertion on 'code' failed: Must inherit from class 'character'/'expression', but has class 'NULL'.
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-module_nested_tabs.R:242:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─shiny::testServer(...)
7. ├─shiny:::withMockContext(session, rlang::exec(app, !!!args))
8. │ ├─shiny::isolate(...)
9. │ │ ├─shiny::..stacktraceoff..(...)
10. │ │ └─ctx$run(...)
11. │ │ ├─promises::with_promise_domain(...)
12. │ │ │ └─domain$wrapSync(expr)
13. │ │ ├─shiny::withReactiveDomain(...)
14. │ │ │ └─promises::with_promise_domain(...)
15. │ │ │ └─domain$wrapSync(expr)
16. │ │ │ └─base::force(expr)
17. │ │ └─env$runWith(self, func)
18. │ │ └─shiny (local) contextFunc()
19. │ │ └─shiny::..stacktraceon..(expr)
20. │ ├─shiny::withReactiveDomain(...)
21. │ │ └─promises::with_promise_domain(...)
22. │ │ └─domain$wrapSync(expr)
23. │ │ └─base::force(expr)
24. │ └─withr::with_options(...)
25. │ └─base::force(code)
26. ├─rlang::exec(app, !!!args)
27. ├─teal (local) `<fn>`(...)
28. └─teal:::srv_nested_tabs.teal_modules(...)
29. └─shiny::moduleServer(...)
30. ├─session$setReturned(callModule(module, id, session = session))
31. └─shiny::callModule(module, id, session = session)
32. ├─shiny::withReactiveDomain(...)
33. │ └─promises::with_promise_domain(...)
34. │ └─domain$wrapSync(expr)
35. │ └─base::force(expr)
36. └─teal::module(...)
37. └─base::sapply(...)
38. └─base::lapply(X = X, FUN = FUN, ...)
39. └─teal (local) FUN(X[[i]], ...)
40. ├─teal:::srv_nested_tabs(...)
41. └─teal:::srv_nested_tabs.teal_module(...)
42. └─shiny::moduleServer(...)
43. └─shiny::callModule(module, id, session = session)
44. ├─shiny::withReactiveDomain(...)
45. │ └─promises::with_promise_domain(...)
46. │ └─domain$wrapSync(expr)
47. │ └─base::force(expr)
48. └─teal::module(...)
49. └─teal:::.datasets_to_data(modules, datasets, trigger_data)
50. └─teal::new_tdata(...)
51. ├─shiny::isolate(checkmate::assert_class(code(), "character", .var.name = "code"))
52. │ ├─shiny::..stacktraceoff..(...)
53. │ └─ctx$run(...)
54. │ ├─promises::with_promise_domain(...)
55. │ │ └─domain$wrapSync(expr)
56. │ ├─shiny::withReactiveDomain(...)
57. │ │ └─promises::with_promise_domain(...)
58. │ │ └─domain$wrapSync(expr)
59. │ │ └─base::force(expr)
60. │ └─env$runWith(self, func)
61. │ └─shiny (local) contextFunc()
62. │ └─shiny::..stacktraceon..(expr)
63. ├─checkmate::assert_class(code(), "character", .var.name = "code")
64. │ └─checkmate::checkClass(x, classes, ordered, null.ok)
65. └─shiny::code()
66. ├─shiny::..stacktraceoff..(self$.updateValue())
67. └─self$.updateValue()
68. └─ctx$run(...)
69. ├─promises::with_promise_domain(...)
70. │ └─domain$wrapSync(expr)
71. ├─shiny::withReactiveDomain(...)
72. │ └─promises::with_promise_domain(...)
73. │ └─domain$wrapSync(expr)
74. │ └─base::force(expr)
75. └─env$runWith(self, func)
76. └─shiny (local) contextFunc()
77. ├─base::withCallingHandlers(...)
78. ├─base::withVisible(.func())
79. └─shiny (local) .func()
80. └─shiny (local) `<reactive:eventReactive(trigger_data())>`(...)
81. └─shiny:::hybrid_chain(...)
82. └─shiny (local) do()
83. └─base::tryCatch(...)
84. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
85. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
86. └─value[[3L]](cond)
Check failure on line 0 in module_nested_tabs
github-actions / Unit Tests Summary
srv_nested_tabs.teal_module_warns_if_both_data_and_datasets_are_passed (module_nested_tabs) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `teal.code:::get_code_dependency(attr(datasets, "preprocessing_code"), ('test-module_nested_tabs.R:303:3')
Error in `teal.code:::get_code_dependency(attr(datasets, "preprocessing_code"),
names = datanames)`: Assertion on 'code' failed: Must inherit from class 'character'/'expression', but has class 'NULL'.
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-module_nested_tabs.R:303:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─shiny::testServer(...)
7. ├─shiny:::withMockContext(session, rlang::exec(app, !!!args))
8. │ ├─shiny::isolate(...)
9. │ │ ├─shiny::..stacktraceoff..(...)
10. │ │ └─ctx$run(...)
11. │ │ ├─promises::with_promise_domain(...)
12. │ │ │ └─domain$wrapSync(expr)
13. │ │ ├─shiny::withReactiveDomain(...)
14. │ │ │ └─promises::with_promise_domain(...)
15. │ │ │ └─domain$wrapSync(expr)
16. │ │ │ └─base::force(expr)
17. │ │ └─env$runWith(self, func)
18. │ │ └─shiny (local) contextFunc()
19. │ │ └─shiny::..stacktraceon..(expr)
20. │ ├─shiny::withReactiveDomain(...)
21. │ │ └─promises::with_promise_domain(...)
22. │ │ └─domain$wrapSync(expr)
23. │ │ └─base::force(expr)
24. │ └─withr::with_options(...)
25. │ └─base::force(code)
26. ├─rlang::exec(app, !!!args)
27. ├─teal (local) `<fn>`(...)
28. └─teal:::srv_nested_tabs.teal_modules(...)
29. └─shiny::moduleServer(...)
30. ├─session$setReturned(callModule(module, id, session = session))
31. └─shiny::callModule(module, id, session = session)
32. ├─shiny::withReactiveDomain(...)
33. │ └─promises::with_promise_domain(...)
34. │ └─domain$wrapSync(expr)
35. │ └─base::force(expr)
36. └─teal::module(...)
37. └─base::sapply(...)
38. └─base::lapply(X = X, FUN = FUN, ...)
39. └─teal (local) FUN(X[[i]], ...)
40. ├─teal:::srv_nested_tabs(...)
41. └─teal:::srv_nested_tabs.teal_module(...)
42. └─shiny::moduleServer(...)
43. └─shiny::callModule(module, id, session = session)
44. ├─shiny::withReactiveDomain(...)
45. │ └─promises::with_promise_domain(...)
46. │ └─domain$wrapSync(expr)
47. │ └─base::force(expr)
48. └─teal::module(...)
49. └─teal:::.datasets_to_data(modules, datasets, trigger_data)
50. └─teal::new_tdata(...)
51. ├─shiny::isolate(checkmate::assert_class(code(), "character", .var.name = "code"))
52. │ ├─shiny::..stacktraceoff..(...)
53. │ └─ctx$run(...)
54. │ ├─promises::with_promise_domain(...)
55. │ │ └─domain$wrapSync(expr)
56. │ ├─shiny::withReactiveDomain(...)
57. │ │ └─promises::with_promise_domain(...)
58. │ │ └─domain$wrapSync(expr)
59. │ │ └─base::force(expr)
60. │ └─env$runWith(self, func)
61. │ └─shiny (local) contextFunc()
62. │ └─shiny::..stacktraceon..(expr)
63. ├─checkmate::assert_class(code(), "character", .var.name = "code")
64. │ └─checkmate::checkClass(x, classes, ordered, null.ok)
65. └─shiny::code()
66. ├─shiny::..stacktraceoff..(self$.updateValue())
67. └─self$.updateValue()
68. └─ctx$run(...)
69. ├─promises::with_promise_domain(...)
70. │ └─domain$wrapSync(expr)
71. ├─shiny::withReactiveDomain(...)
72. │ └─promises::with_promise_domain(...)
73. │ └─domain$wrapSync(expr)
74. │ └─base::force(expr)
75. └─env$runWith(self, func)
76. └─shiny (local) contextFunc()
77. ├─base::withCallingHandlers(...)
78. ├─base::withVisible(.func())
79. └─shiny (local) .func()
80. └─shiny (local) `<reactive:eventReactive(trigger_data())>`(...)
81. └─shiny:::hybrid_chain(...)
82. └─shiny (local) do()
83. └─base::tryCatch(...)
84. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
85. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
86. └─value[[3L]](cond)
Check failure on line 0 in module_nested_tabs
github-actions / Unit Tests Summary
.datasets_to_data_accepts_a_reactiveVal_as_trigger_data_input (module_nested_tabs) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `init_filtered_data.default(x = list(d1 = list(dataset = d1, metadata = list(A = 1)), ('test-module_nested_tabs.R:392:3')
Error in `init_filtered_data.default(x = list(d1 = list(dataset = d1, metadata = list(A = 1)),
d2 = list(dataset = d2)), join_keys = teal.data::join_keys(teal.data::join_key("d1",
"d2", c(pk = "id"))), code = cc, check = TRUE)`: unused arguments (code = cc, check = TRUE)
Backtrace:
▆
1. └─teal (local) get_example_filtered_data() at test-module_nested_tabs.R:392:3
2. └─teal.slice::init_filtered_data(...) at test-module_nested_tabs.R:46:3
Check failure on line 0 in module_nested_tabs
github-actions / Unit Tests Summary
.datasets_to_data_throws_error_if_trigger_data_is_not_a_reactiveVal_function (module_nested_tabs) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `init_filtered_data.default(x = list(d1 = list(dataset = d1, metadata = list(A = 1)), ('test-module_nested_tabs.R:404:3')
Error in `init_filtered_data.default(x = list(d1 = list(dataset = d1, metadata = list(A = 1)),
d2 = list(dataset = d2)), join_keys = teal.data::join_keys(teal.data::join_key("d1",
"d2", c(pk = "id"))), code = cc, check = TRUE)`: unused arguments (code = cc, check = TRUE)
Backtrace:
▆
1. └─teal (local) get_example_filtered_data() at test-module_nested_tabs.R:404:3
2. └─teal.slice::init_filtered_data(...) at test-module_nested_tabs.R:46:3
Check failure on line 0 in module_nested_tabs
github-actions / Unit Tests Summary
.datasets_to_data_returns_data_which_is_filtered (module_nested_tabs) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `init_filtered_data.default(x = list(d1 = list(dataset = d1, metadata = list(A = 1)), ('test-module_nested_tabs.R:419:3')
Error in `init_filtered_data.default(x = list(d1 = list(dataset = d1, metadata = list(A = 1)),
d2 = list(dataset = d2)), join_keys = teal.data::join_keys(teal.data::join_key("d1",
"d2", c(pk = "id"))), code = cc, check = TRUE)`: unused arguments (code = cc, check = TRUE)
Backtrace:
▆
1. └─teal (local) get_example_filtered_data() at test-module_nested_tabs.R:419:3
2. └─teal.slice::init_filtered_data(...) at test-module_nested_tabs.R:46:3
Check failure on line 0 in module_nested_tabs
github-actions / Unit Tests Summary
.datasets_to_data_returns_only_data_requested_by_modules_datanames (module_nested_tabs) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `init_filtered_data.default(x = list(d1 = list(dataset = d1, metadata = list(A = 1)), ('test-module_nested_tabs.R:437:3')
Error in `init_filtered_data.default(x = list(d1 = list(dataset = d1, metadata = list(A = 1)),
d2 = list(dataset = d2)), join_keys = teal.data::join_keys(teal.data::join_key("d1",
"d2", c(pk = "id"))), code = cc, check = TRUE)`: unused arguments (code = cc, check = TRUE)
Backtrace:
▆
1. └─teal (local) get_example_filtered_data() at test-module_nested_tabs.R:437:3
2. └─teal.slice::init_filtered_data(...) at test-module_nested_tabs.R:46:3
Check failure on line 0 in module_nested_tabs
github-actions / Unit Tests Summary
.datasets_to_data_returns_tdata_object (module_nested_tabs) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `init_filtered_data.default(x = list(d1 = list(dataset = d1, metadata = list(A = 1)), ('test-module_nested_tabs.R:445:3')
Error in `init_filtered_data.default(x = list(d1 = list(dataset = d1, metadata = list(A = 1)),
d2 = list(dataset = d2)), join_keys = teal.data::join_keys(teal.data::join_key("d1",
"d2", c(pk = "id"))), code = cc, check = TRUE)`: unused arguments (code = cc, check = TRUE)
Backtrace:
▆
1. └─teal (local) get_example_filtered_data() at test-module_nested_tabs.R:445:3
2. └─teal.slice::init_filtered_data(...) at test-module_nested_tabs.R:46:3
Check failure on line 0 in module_tabs_with_filters
github-actions / Unit Tests Summary
active_module_returns_module_specs_from_active_tab_when_filter.module_specific_FALSE (module_tabs_with_filters) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `teal.code:::get_code_dependency(attr(datasets, "preprocessing_code"), ('test-module_tabs_with_filters.R:38:3')
Error in `teal.code:::get_code_dependency(attr(datasets, "preprocessing_code"),
names = datanames)`: Assertion on 'code' failed: Must inherit from class 'character'/'expression', but has class 'NULL'.
Backtrace:
▆
1. └─shiny::testServer(...) at test-module_tabs_with_filters.R:38:3
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>`(...)
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:::srv_nested_tabs(...)
32. └─teal:::srv_nested_tabs.teal_modules(...)
33. └─shiny::moduleServer(...)
34. └─shiny::callModule(module, id, session = session)
35. ├─shiny::withReactiveDomain(...)
36. │ └─promises::with_promise_domain(...)
37. │ └─domain$wrapSync(expr)
38. │ └─base::force(expr)
39. └─teal::module(...)
40. └─base::sapply(...)
41. └─base::lapply(X = X, FUN = FUN, ...)
42. └─teal (local) FUN(X[[i]], ...)
43. ├─teal:::srv_nested_tabs(...)
44. └─teal:::srv_nested_tabs.teal_module(...)
45. └─shiny::moduleServer(...)
46. └─shiny::callModule(module, id, session = session)
47. ├─shiny::withReactiveDomain(...)
48. │ └─promises::with_promise_domain(...)
49. │ └─domain$wrapSync(expr)
50. │ └─base::force(expr)
51. └─teal::module(...)
52. └─teal:::.datasets_to_data(modules, datasets, trigger_data)
53. └─teal::new_tdata(...)
54. ├─shiny::isolate(checkmate::assert_class(code(), "character", .var.name = "code"))
55. │ ├─shiny::..stacktraceoff..(...)
56. │ └─ctx$run(...)
57. │ ├─promises::with_promise_domain(...)
58. │ │ └─domain$wrapSync(expr)
59. │ ├─shiny::withReactiveDomain(...)
60. │ │ └─promises::with_promise_domain(...)
61. │ │ └─domain$wrapSync(expr)
62. │ │ └─base::force(expr)
63. │ └─env$runWith(self, func)
64. │ └─shiny (local) contextFunc()
65. │ └─shiny::..stacktraceon..(expr)
66. ├─checkmate::assert_class(code(), "character", .var.name = "code")
67. │ └─checkmate::checkClass(x, classes, ordered, null.ok)
68. └─shiny::code()
69. ├─shiny::..stacktraceoff..(self$.updateValue())
70. └─self$.updateValue()
71. └─ctx$run(...)
72. ├─promises::with_promise_domain(...)
73. │ └─domain$wrapSync(expr)
74. ├─shiny::withReactiveDomain(...)
75. │ └─promises::with_promise_domain(...)
76. │ └─domain$wrapSync(expr)
77. │ └─base::force(expr)
78. └─env$runWith(self, func)
79. └─shiny (local) contextFunc()
80. ├─base::withCallingHandlers(...)
81. ├─base::withVisible(.func())
82. └─shiny (local) .func()
83. └─shiny (local) `<reactive:eventReactive(trigger_data())>`(...)
84. └─shiny:::hybrid_chain(...)
85. └─shiny (local) do()
86. └─base::tryCatch(...)
87. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
88. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
89. └─value[[3L]](cond)
Check failure on line 0 in module_tabs_with_filters
github-actions / Unit Tests Summary
active_datanames_returns_dataname_from_single_tab (module_tabs_with_filters) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `teal.code:::get_code_dependency(attr(datasets, "preprocessing_code"), ('test-module_tabs_with_filters.R:72:3')
Error in `teal.code:::get_code_dependency(attr(datasets, "preprocessing_code"),
names = datanames)`: Assertion on 'code' failed: Must inherit from class 'character'/'expression', but has class 'NULL'.
Backtrace:
▆
1. └─shiny::testServer(...) at test-module_tabs_with_filters.R:72:3
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>`(...)
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:::srv_nested_tabs(...)
32. └─teal:::srv_nested_tabs.teal_modules(...)
33. └─shiny::moduleServer(...)
34. └─shiny::callModule(module, id, session = session)
35. ├─shiny::withReactiveDomain(...)
36. │ └─promises::with_promise_domain(...)
37. │ └─domain$wrapSync(expr)
38. │ └─base::force(expr)
39. └─teal::module(...)
40. └─base::sapply(...)
41. └─base::lapply(X = X, FUN = FUN, ...)
42. └─teal (local) FUN(X[[i]], ...)
43. ├─teal:::srv_nested_tabs(...)
44. └─teal:::srv_nested_tabs.teal_module(...)
45. └─shiny::moduleServer(...)
46. └─shiny::callModule(module, id, session = session)
47. ├─shiny::withReactiveDomain(...)
48. │ └─promises::with_promise_domain(...)
49. │ └─domain$wrapSync(expr)
50. │ └─base::force(expr)
51. └─teal::module(...)
52. └─teal:::.datasets_to_data(modules, datasets, trigger_data)
53. └─teal::new_tdata(...)
54. ├─shiny::isolate(checkmate::assert_class(code(), "character", .var.name = "code"))
55. │ ├─shiny::..stacktraceoff..(...)
56. │ └─ctx$run(...)
57. │ ├─promises::with_promise_domain(...)
58. │ │ └─domain$wrapSync(expr)
59. │ ├─shiny::withReactiveDomain(...)
60. │ │ └─promises::with_promise_domain(...)
61. │ │ └─domain$wrapSync(expr)
62. │ │ └─base::force(expr)
63. │ └─env$runWith(self, func)
64. │ └─shiny (local) contextFunc()
65. │ └─shiny::..stacktraceon..(expr)
66. ├─checkmate::assert_class(code(), "character", .var.name = "code")
67. │ └─checkmate::checkClass(x, classes, ordered, null.ok)
68. └─shiny::code()
69. ├─shiny::..stacktraceoff..(self$.updateValue())
70. └─self$.updateValue()
71. └─ctx$run(...)
72. ├─promises::with_promise_domain(...)
73. │ └─domain$wrapSync(expr)
74. ├─shiny::withReactiveDomain(...)
75. │ └─promises::with_promise_domain(...)
76. │ └─domain$wrapSync(expr)
77. │ └─base::force(expr)
78. └─env$runWith(self, func)
79. └─shiny (local) contextFunc()
80. ├─base::withCallingHandlers(...)
81. ├─base::withVisible(.func())
82. └─shiny (local) .func()
83. └─shiny (local) `<reactive:eventReactive(trigger_data())>`(...)
84. └─shiny:::hybrid_chain(...)
85. └─shiny (local) do()
86. └─base::tryCatch(...)
87. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
88. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
89. └─value[[3L]](cond)
Check failure on line 0 in module_tabs_with_filters
github-actions / Unit Tests Summary
active_datanames_returns_dataname_from_active_tab_after_change (module_tabs_with_filters) with error
teal.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `teal.code:::get_code_dependency(attr(datasets, "preprocessing_code"), ('test-module_tabs_with_filters.R:87:3')
Error in `teal.code:::get_code_dependency(attr(datasets, "preprocessing_code"),
names = datanames)`: Assertion on 'code' failed: Must inherit from class 'character'/'expression', but has class 'NULL'.
Backtrace:
▆
1. └─shiny::testServer(...) at test-module_tabs_with_filters.R:87:3
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>`(...)
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:::srv_nested_tabs(...)
32. └─teal:::srv_nested_tabs.teal_modules(...)
33. └─shiny::moduleServer(...)
34. └─shiny::callModule(module, id, session = session)
35. ├─shiny::withReactiveDomain(...)
36. │ └─promises::with_promise_domain(...)
37. │ └─domain$wrapSync(expr)
38. │ └─base::force(expr)
39. └─teal::module(...)
40. └─base::sapply(...)
41. └─base::lapply(X = X, FUN = FUN, ...)
42. └─teal (local) FUN(X[[i]], ...)
43. ├─teal:::srv_nested_tabs(...)
44. └─teal:::srv_nested_tabs.teal_module(...)
45. └─shiny::moduleServer(...)
46. └─shiny::callModule(module, id, session = session)
47. ├─shiny::withReactiveDomain(...)
48. │ └─promises::with_promise_domain(...)
49. │ └─domain$wrapSync(expr)
50. │ └─base::force(expr)
51. └─teal::module(...)
52. └─teal:::.datasets_to_data(modules, datasets, trigger_data)
53. └─teal::new_tdata(...)
54. ├─shiny::isolate(checkmate::assert_class(code(), "character", .var.name = "code"))
55. │ ├─shiny::..stacktraceoff..(...)
56. │ └─ctx$run(...)
57. │ ├─promises::with_promise_domain(...)
58. │ │ └─domain$wrapSync(expr)
59. │ ├─shiny::withReactiveDomain(...)
60. │ │ └─promises::with_promise_domain(...)
61. │ │ └─domain$wrapSync(expr)
62. │ │ └─base::force(expr)
63. │ └─env$runWith(self, func)
64. │ └─shiny (local) contextFunc()
65. │ └─shiny::..stacktraceon..(expr)
66. ├─checkmate::assert_class(code(), "character", .var.name = "code")
67. │ └─checkmate::checkClass(x, classes, ordered, null.ok)
68. └─shiny::code()
69. ├─shiny::..stacktraceoff..(self$.updateValue())
70. └─self$.updateValue()
71. └─ctx$run(...)
72. ├─promises::with_promise_domain(...)
73. │ └─domain$wrapSync(expr)
74. ├─shiny::withReactiveDomain(...)
75. │ └─promises::with_promise_domain(...)
76. │ └─domain$wrapSync(expr)
77. │ └─base::force(expr)
78. └─env$runWith(self, func)
79. └─shiny (local) contextFunc()
80. ├─base::withCallingHandlers(...)
81. ├─base::withVisible(.func())
82. └─shiny (local) .func()
83. └─shiny (local) `<reactive:eventReactive(trigger_data())>`(...)
84. └─shiny:::hybrid_chain(...)
85. └─shiny (local) do()
86. └─base::tryCatch(...)
87. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
88. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
89. └─value[[3L]](cond)