Wave 3 - tm_g_pp_therapy
shinytest2
#2602
23 errors, 110 skipped, 222 pass in 50m 7s
1 files 39 suites 50m 7s ⏱️
355 tests 222 ✅ 110 💤 0 ❌ 23 🔥
625 runs 380 ✅ 222 💤 0 ❌ 23 🔥
Results for commit 9b069c1.
Annotations
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Module_initializes_in_teal_without_errors_and_produces_output. (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:93:3')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:21:19.40 Start AppDriver initialization
{shinytest2} R info 19:21:19.43 Starting Shiny app
{shinytest2} R info 19:21:21.47 Creating new ChromoteSession
{shinytest2} R info 19:21:21.50 Navigating to Shiny app
{shinytest2} R info 19:21:21.61 Injecting shiny-tracer.js
{chromote} JS info 19:21:21.62 shinytest2; jQuery not found
{chromote} JS info 19:21:21.62 shinytest2; Loaded
{shinytest2} R info 19:21:21.62 Waiting for Shiny to become ready
{chromote} JS info 19:21:21.71 shinytest2; jQuery found
{chromote} JS info 19:21:21.71 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:21:21.84 shinytest2; Connected
{chromote} JS info 19:21:21.88 shinytest2; shiny:busy
{shinytest2} R info 19:21:21.94 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:21:21.94 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:21:23.12 shinytest2; shiny:idle
{chromote} JS info 19:21:23.12 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:21:23.12 shinytest2; shiny:value error
{chromote} JS info 19:21:23.12 shinytest2; shiny:busy
{chromote} JS info 19:21:23.12 shinytest2; shiny:idle
{chromote} JS info 19:21:23.14 shinytest2; shiny:busy
{shinytest2} R info 19:23:01.96 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:7000
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:93:3
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Starts_with_specified_label_paramcd_arm_var_buckets_paramcd_subgroup_var_strata_var_and_plot_settings (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:114:5')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:23:02.46 Start AppDriver initialization
{shinytest2} R info 19:23:02.49 Starting Shiny app
{shinytest2} R info 19:23:04.52 Creating new ChromoteSession
{shinytest2} R info 19:23:04.55 Navigating to Shiny app
{shinytest2} R info 19:23:04.67 Injecting shiny-tracer.js
{chromote} JS info 19:23:04.67 shinytest2; jQuery not found
{chromote} JS info 19:23:04.67 shinytest2; Loaded
{shinytest2} R info 19:23:04.68 Waiting for Shiny to become ready
{chromote} JS info 19:23:04.76 shinytest2; jQuery found
{chromote} JS info 19:23:04.76 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:23:04.90 shinytest2; Connected
{chromote} JS info 19:23:04.94 shinytest2; shiny:busy
{shinytest2} R info 19:23:04.99 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:23:05.00 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:23:06.31 shinytest2; shiny:idle
{chromote} JS info 19:23:06.31 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:23:06.31 shinytest2; shiny:value error
{chromote} JS info 19:23:06.31 shinytest2; shiny:busy
{chromote} JS info 19:23:06.31 shinytest2; shiny:idle
{chromote} JS info 19:23:06.31 shinytest2; shiny:busy
{shinytest2} R info 19:24:45.01 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:6631
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:114:5
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Selection_of_patient_id_changes_the_element_and_does_not_throw_validation_errors (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:162:9')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:24:45.51 Start AppDriver initialization
{shinytest2} R info 19:24:45.54 Starting Shiny app
{shinytest2} R info 19:24:47.57 Creating new ChromoteSession
{shinytest2} R info 19:24:47.61 Navigating to Shiny app
{shinytest2} R info 19:24:47.70 Injecting shiny-tracer.js
{chromote} JS info 19:24:47.71 shinytest2; jQuery not found
{chromote} JS info 19:24:47.71 shinytest2; Loaded
{shinytest2} R info 19:24:47.71 Waiting for Shiny to become ready
{chromote} JS info 19:24:47.81 shinytest2; jQuery found
{chromote} JS info 19:24:47.81 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:24:47.94 shinytest2; Connected
{chromote} JS info 19:24:47.98 shinytest2; shiny:busy
{shinytest2} R info 19:24:48.03 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:24:48.03 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:24:49.21 shinytest2; shiny:idle
{chromote} JS info 19:24:49.21 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:24:49.21 shinytest2; shiny:value error
{chromote} JS info 19:24:49.21 shinytest2; shiny:busy
{chromote} JS info 19:24:49.21 shinytest2; shiny:idle
{chromote} JS info 19:24:49.24 shinytest2; shiny:busy
{shinytest2} R info 19:26:28.04 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:5971
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:162:9
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Deselection_of_patient_id_throws_validation_error. (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:189:5')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:26:28.51 Start AppDriver initialization
{shinytest2} R info 19:26:28.54 Starting Shiny app
{shinytest2} R info 19:26:30.57 Creating new ChromoteSession
{shinytest2} R info 19:26:30.61 Navigating to Shiny app
{shinytest2} R info 19:26:30.72 Injecting shiny-tracer.js
{chromote} JS info 19:26:30.73 shinytest2; jQuery not found
{chromote} JS info 19:26:30.73 shinytest2; Loaded
{shinytest2} R info 19:26:30.73 Waiting for Shiny to become ready
{chromote} JS info 19:26:30.82 shinytest2; jQuery found
{chromote} JS info 19:26:30.82 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:26:30.95 shinytest2; Connected
{chromote} JS info 19:26:30.99 shinytest2; shiny:busy
{shinytest2} R info 19:26:31.05 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:26:31.05 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:26:32.23 shinytest2; shiny:idle
{chromote} JS info 19:26:32.24 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:26:32.24 shinytest2; shiny:value error
{chromote} JS info 19:26:32.24 shinytest2; shiny:busy
{chromote} JS info 19:26:32.24 shinytest2; shiny:idle
{chromote} JS info 19:26:32.26 shinytest2; shiny:busy
{shinytest2} R info 19:28:11.07 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:5338
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:189:5
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Deselection_of_cmtrt_dataset_ADCM_singleextract_select_throws_validation_error. (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:189:5')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:28:11.57 Start AppDriver initialization
{shinytest2} R info 19:28:11.59 Starting Shiny app
{shinytest2} R info 19:28:13.83 Creating new ChromoteSession
{shinytest2} R info 19:28:13.86 Navigating to Shiny app
{shinytest2} R info 19:28:13.96 Injecting shiny-tracer.js
{chromote} JS info 19:28:13.97 shinytest2; jQuery not found
{chromote} JS info 19:28:13.97 shinytest2; Loaded
{shinytest2} R info 19:28:13.97 Waiting for Shiny to become ready
{chromote} JS info 19:28:14.05 shinytest2; jQuery found
{chromote} JS info 19:28:14.05 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:28:14.18 shinytest2; Connected
{shinytest2} R info 19:28:14.18 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:28:14.19 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:28:14.22 shinytest2; shiny:busy
{chromote} JS info 19:28:15.46 shinytest2; shiny:idle
{chromote} JS info 19:28:15.46 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:28:15.46 shinytest2; shiny:value error
{chromote} JS info 19:28:15.46 shinytest2; shiny:busy
{chromote} JS info 19:28:15.46 shinytest2; shiny:idle
{chromote} JS info 19:28:15.49 shinytest2; shiny:busy
{shinytest2} R info 19:29:54.20 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:7939
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:189:5
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Deselection_of_cmdecod_dataset_ADCM_singleextract_select_throws_validation_error. (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 42s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:189:5')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:29:54.67 Start AppDriver initialization
{shinytest2} R info 19:29:54.70 Starting Shiny app
{shinytest2} R info 19:29:56.73 Creating new ChromoteSession
{shinytest2} R info 19:29:56.77 Navigating to Shiny app
{shinytest2} R info 19:29:56.86 Injecting shiny-tracer.js
{chromote} JS info 19:29:56.87 shinytest2; jQuery not found
{chromote} JS info 19:29:56.87 shinytest2; Loaded
{shinytest2} R info 19:29:56.87 Waiting for Shiny to become ready
{chromote} JS info 19:29:56.97 shinytest2; jQuery found
{chromote} JS info 19:29:56.97 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:29:57.09 shinytest2; Connected
{chromote} JS info 19:29:57.13 shinytest2; shiny:busy
{shinytest2} R info 19:29:57.19 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:29:57.19 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:29:58.42 shinytest2; shiny:idle
{chromote} JS info 19:29:58.43 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:29:58.43 shinytest2; shiny:value error
{chromote} JS info 19:29:58.43 shinytest2; shiny:busy
{chromote} JS info 19:29:58.43 shinytest2; shiny:idle
{chromote} JS info 19:29:58.46 shinytest2; shiny:busy
{shinytest2} R info 19:31:37.20 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:3333
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:189:5
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Selection_of_atirel_changes_the_element_and_does_not_throw_validation_errors (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:162:9')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:31:37.67 Start AppDriver initialization
{shinytest2} R info 19:31:37.69 Starting Shiny app
{shinytest2} R info 19:31:39.92 Creating new ChromoteSession
{shinytest2} R info 19:31:39.96 Navigating to Shiny app
{shinytest2} R info 19:31:40.08 Injecting shiny-tracer.js
{chromote} JS info 19:31:40.09 shinytest2; jQuery not found
{chromote} JS info 19:31:40.09 shinytest2; Loaded
{shinytest2} R info 19:31:40.09 Waiting for Shiny to become ready
{chromote} JS info 19:31:40.20 shinytest2; jQuery found
{chromote} JS info 19:31:40.20 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:31:40.34 shinytest2; Connected
{chromote} JS info 19:31:40.37 shinytest2; shiny:busy
{shinytest2} R info 19:31:40.40 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:31:40.40 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:31:41.62 shinytest2; shiny:idle
{chromote} JS info 19:31:41.62 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:31:41.62 shinytest2; shiny:value error
{chromote} JS info 19:31:41.62 shinytest2; shiny:busy
{chromote} JS info 19:31:41.63 shinytest2; shiny:idle
{chromote} JS info 19:31:41.64 shinytest2; shiny:busy
{shinytest2} R info 19:33:20.42 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:3905
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:162:9
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Deselection_of_atirel_dataset_ADCM_singleextract_select_throws_validation_error. (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:189:5')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:33:21.10 Start AppDriver initialization
{shinytest2} R info 19:33:21.13 Starting Shiny app
{shinytest2} R info 19:33:23.36 Creating new ChromoteSession
{shinytest2} R info 19:33:23.39 Navigating to Shiny app
{shinytest2} R info 19:33:23.49 Injecting shiny-tracer.js
{chromote} JS info 19:33:23.50 shinytest2; jQuery not found
{chromote} JS info 19:33:23.50 shinytest2; Loaded
{shinytest2} R info 19:33:23.50 Waiting for Shiny to become ready
{chromote} JS info 19:33:23.59 shinytest2; jQuery found
{chromote} JS info 19:33:23.59 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:33:23.72 shinytest2; Connected
{chromote} JS info 19:33:23.76 shinytest2; shiny:busy
{shinytest2} R info 19:33:23.81 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:33:23.81 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:33:25.04 shinytest2; shiny:idle
{chromote} JS info 19:33:25.04 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:33:25.05 shinytest2; shiny:value error
{chromote} JS info 19:33:25.05 shinytest2; shiny:busy
{chromote} JS info 19:33:25.05 shinytest2; shiny:idle
{chromote} JS info 19:33:25.07 shinytest2; shiny:busy
{shinytest2} R info 19:35:03.83 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:4873
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:189:5
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Selection_of_cmindc_changes_the_element_and_does_not_throw_validation_errors (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:162:9')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:35:04.30 Start AppDriver initialization
{shinytest2} R info 19:35:04.33 Starting Shiny app
{shinytest2} R info 19:35:06.56 Creating new ChromoteSession
{shinytest2} R info 19:35:06.60 Navigating to Shiny app
{shinytest2} R info 19:35:06.70 Injecting shiny-tracer.js
{chromote} JS info 19:35:06.71 shinytest2; jQuery not found
{chromote} JS info 19:35:06.71 shinytest2; Loaded
{shinytest2} R info 19:35:06.71 Waiting for Shiny to become ready
{chromote} JS info 19:35:06.80 shinytest2; jQuery found
{chromote} JS info 19:35:06.80 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:35:06.92 shinytest2; Connected
{shinytest2} R info 19:35:06.93 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:35:06.94 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:35:06.96 shinytest2; shiny:busy
{chromote} JS info 19:35:08.33 shinytest2; shiny:idle
{chromote} JS info 19:35:08.33 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:35:08.33 shinytest2; shiny:value error
{chromote} JS info 19:35:08.34 shinytest2; shiny:busy
{chromote} JS info 19:35:08.34 shinytest2; shiny:idle
{chromote} JS info 19:35:08.37 shinytest2; shiny:busy
{shinytest2} R info 19:36:46.95 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:3585
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:162:9
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Deselection_of_cmindc_dataset_ADCM_singleextract_select_throws_validation_error. (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:189:5')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:36:47.43 Start AppDriver initialization
{shinytest2} R info 19:36:47.46 Starting Shiny app
{shinytest2} R info 19:36:49.69 Creating new ChromoteSession
{shinytest2} R info 19:36:49.71 Navigating to Shiny app
{shinytest2} R info 19:36:49.80 Injecting shiny-tracer.js
{chromote} JS info 19:36:49.81 shinytest2; jQuery not found
{chromote} JS info 19:36:49.81 shinytest2; Loaded
{shinytest2} R info 19:36:49.81 Waiting for Shiny to become ready
{chromote} JS info 19:36:49.92 shinytest2; jQuery found
{chromote} JS info 19:36:49.92 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:36:50.05 shinytest2; Connected
{chromote} JS info 19:36:50.10 shinytest2; shiny:busy
{shinytest2} R info 19:36:50.12 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:36:50.13 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:36:51.33 shinytest2; shiny:idle
{chromote} JS info 19:36:51.33 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:36:51.33 shinytest2; shiny:value error
{chromote} JS info 19:36:51.33 shinytest2; shiny:busy
{chromote} JS info 19:36:51.34 shinytest2; shiny:idle
{chromote} JS info 19:36:51.36 shinytest2; shiny:busy
{shinytest2} R info 19:38:30.14 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:5237
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:189:5
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Selection_of_cmdose_changes_the_element_and_does_not_throw_validation_errors (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:162:9')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:38:30.58 Start AppDriver initialization
{shinytest2} R info 19:38:30.61 Starting Shiny app
{shinytest2} R info 19:38:32.84 Creating new ChromoteSession
{shinytest2} R info 19:38:32.86 Navigating to Shiny app
{shinytest2} R info 19:38:32.95 Injecting shiny-tracer.js
{chromote} JS info 19:38:32.96 shinytest2; jQuery not found
{chromote} JS info 19:38:32.96 shinytest2; Loaded
{shinytest2} R info 19:38:32.96 Waiting for Shiny to become ready
{chromote} JS info 19:38:33.06 shinytest2; jQuery found
{chromote} JS info 19:38:33.06 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:38:33.19 shinytest2; Connected
{chromote} JS info 19:38:33.24 shinytest2; shiny:busy
{shinytest2} R info 19:38:33.28 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:38:33.28 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:38:34.50 shinytest2; shiny:idle
{chromote} JS info 19:38:34.50 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:38:34.50 shinytest2; shiny:value error
{chromote} JS info 19:38:34.50 shinytest2; shiny:busy
{chromote} JS info 19:38:34.50 shinytest2; shiny:idle
{chromote} JS info 19:38:34.53 shinytest2; shiny:busy
{shinytest2} R info 19:40:13.30 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:5680
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:162:9
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Deselection_of_cmdose_dataset_ADCM_singleextract_select_throws_validation_error. (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:189:5')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:40:13.75 Start AppDriver initialization
{shinytest2} R info 19:40:13.78 Starting Shiny app
{shinytest2} R info 19:40:16.01 Creating new ChromoteSession
{shinytest2} R info 19:40:16.04 Navigating to Shiny app
{shinytest2} R info 19:40:16.14 Injecting shiny-tracer.js
{chromote} JS info 19:40:16.15 shinytest2; jQuery not found
{chromote} JS info 19:40:16.15 shinytest2; Loaded
{shinytest2} R info 19:40:16.16 Waiting for Shiny to become ready
{chromote} JS info 19:40:16.25 shinytest2; jQuery found
{chromote} JS info 19:40:16.25 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:40:16.39 shinytest2; Connected
{chromote} JS info 19:40:16.43 shinytest2; shiny:busy
{shinytest2} R info 19:40:16.48 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:40:16.48 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:40:17.76 shinytest2; shiny:idle
{chromote} JS info 19:40:17.77 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:40:17.77 shinytest2; shiny:value error
{chromote} JS info 19:40:17.77 shinytest2; shiny:busy
{chromote} JS info 19:40:17.77 shinytest2; shiny:idle
{chromote} JS info 19:40:17.80 shinytest2; shiny:busy
{shinytest2} R info 19:41:56.49 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:3872
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:189:5
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Selection_of_cmdosu_changes_the_element_and_does_not_throw_validation_errors (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:162:9')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:41:56.96 Start AppDriver initialization
{shinytest2} R info 19:41:56.99 Starting Shiny app
{shinytest2} R info 19:41:59.21 Creating new ChromoteSession
{shinytest2} R info 19:41:59.24 Navigating to Shiny app
{shinytest2} R info 19:41:59.38 Injecting shiny-tracer.js
{chromote} JS info 19:41:59.39 shinytest2; jQuery not found
{chromote} JS info 19:41:59.39 shinytest2; Loaded
{shinytest2} R info 19:41:59.40 Waiting for Shiny to become ready
{chromote} JS info 19:41:59.44 shinytest2; jQuery found
{chromote} JS info 19:41:59.44 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:41:59.65 shinytest2; Connected
{chromote} JS info 19:41:59.69 shinytest2; shiny:busy
{shinytest2} R info 19:41:59.73 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:41:59.73 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:42:00.99 shinytest2; shiny:idle
{chromote} JS info 19:42:00.99 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:42:01.00 shinytest2; shiny:value error
{chromote} JS info 19:42:01.00 shinytest2; shiny:busy
{chromote} JS info 19:42:01.00 shinytest2; shiny:idle
{chromote} JS info 19:42:01.03 shinytest2; shiny:busy
{shinytest2} R info 19:43:39.74 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:5998
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:162:9
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Deselection_of_cmdosu_dataset_ADCM_singleextract_select_throws_validation_error. (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:189:5')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:43:40.18 Start AppDriver initialization
{shinytest2} R info 19:43:40.21 Starting Shiny app
{shinytest2} R info 19:43:42.44 Creating new ChromoteSession
{shinytest2} R info 19:43:42.46 Navigating to Shiny app
{shinytest2} R info 19:43:42.55 Injecting shiny-tracer.js
{chromote} JS info 19:43:42.56 shinytest2; jQuery not found
{chromote} JS info 19:43:42.56 shinytest2; Loaded
{shinytest2} R info 19:43:42.57 Waiting for Shiny to become ready
{chromote} JS info 19:43:42.67 shinytest2; jQuery found
{chromote} JS info 19:43:42.67 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:43:42.79 shinytest2; Connected
{chromote} JS info 19:43:42.84 shinytest2; shiny:busy
{shinytest2} R info 19:43:42.88 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:43:42.89 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:43:44.12 shinytest2; shiny:idle
{chromote} JS info 19:43:44.12 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:43:44.12 shinytest2; shiny:value error
{chromote} JS info 19:43:44.13 shinytest2; shiny:busy
{chromote} JS info 19:43:44.13 shinytest2; shiny:idle
{chromote} JS info 19:43:44.15 shinytest2; shiny:busy
{shinytest2} R info 19:45:22.90 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:4269
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:189:5
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Selection_of_cmroute_changes_the_element_and_does_not_throw_validation_errors (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 42s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:162:9')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:45:23.33 Start AppDriver initialization
{shinytest2} R info 19:45:23.36 Starting Shiny app
{shinytest2} R info 19:45:25.38 Creating new ChromoteSession
{shinytest2} R info 19:45:25.40 Navigating to Shiny app
{shinytest2} R info 19:45:25.50 Injecting shiny-tracer.js
{chromote} JS info 19:45:25.51 shinytest2; jQuery not found
{chromote} JS info 19:45:25.51 shinytest2; Loaded
{shinytest2} R info 19:45:25.51 Waiting for Shiny to become ready
{chromote} JS info 19:45:25.59 shinytest2; jQuery found
{chromote} JS info 19:45:25.60 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:45:25.72 shinytest2; Connected
{shinytest2} R info 19:45:25.72 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:45:25.73 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:45:25.76 shinytest2; shiny:busy
{chromote} JS info 19:45:27.05 shinytest2; shiny:idle
{chromote} JS info 19:45:27.05 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:45:27.05 shinytest2; shiny:value error
{chromote} JS info 19:45:27.05 shinytest2; shiny:busy
{chromote} JS info 19:45:27.06 shinytest2; shiny:idle
{chromote} JS info 19:45:27.08 shinytest2; shiny:busy
{shinytest2} R info 19:47:05.74 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:4081
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:162:9
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Deselection_of_cmroute_dataset_ADCM_singleextract_select_throws_validation_error. (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:189:5')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:47:06.17 Start AppDriver initialization
{shinytest2} R info 19:47:06.20 Starting Shiny app
{shinytest2} R info 19:47:08.43 Creating new ChromoteSession
{shinytest2} R info 19:47:08.45 Navigating to Shiny app
{shinytest2} R info 19:47:08.57 Injecting shiny-tracer.js
{chromote} JS info 19:47:08.58 shinytest2; jQuery not found
{chromote} JS info 19:47:08.58 shinytest2; Loaded
{shinytest2} R info 19:47:08.58 Waiting for Shiny to become ready
{chromote} JS info 19:47:08.67 shinytest2; jQuery found
{chromote} JS info 19:47:08.67 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:47:08.79 shinytest2; Connected
{shinytest2} R info 19:47:08.80 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:47:08.81 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:47:08.83 shinytest2; shiny:busy
{chromote} JS info 19:47:10.08 shinytest2; shiny:idle
{chromote} JS info 19:47:10.08 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:47:10.08 shinytest2; shiny:value error
{chromote} JS info 19:47:10.08 shinytest2; shiny:busy
{chromote} JS info 19:47:10.08 shinytest2; shiny:idle
{chromote} JS info 19:47:10.10 shinytest2; shiny:busy
{shinytest2} R info 19:48:48.82 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:3212
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:189:5
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Selection_of_cmdosfrq_changes_the_element_and_does_not_throw_validation_errors (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:162:9')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:48:49.28 Start AppDriver initialization
{shinytest2} R info 19:48:49.31 Starting Shiny app
{shinytest2} R info 19:48:51.53 Creating new ChromoteSession
{shinytest2} R info 19:48:51.55 Navigating to Shiny app
{shinytest2} R info 19:48:51.65 Injecting shiny-tracer.js
{chromote} JS info 19:48:51.66 shinytest2; jQuery not found
{chromote} JS info 19:48:51.66 shinytest2; Loaded
{shinytest2} R info 19:48:51.66 Waiting for Shiny to become ready
{chromote} JS info 19:48:51.75 shinytest2; jQuery found
{chromote} JS info 19:48:51.75 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:48:51.87 shinytest2; Connected
{chromote} JS info 19:48:51.92 shinytest2; shiny:busy
{shinytest2} R info 19:48:51.97 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:48:51.97 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:48:53.17 shinytest2; shiny:idle
{chromote} JS info 19:48:53.17 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:48:53.17 shinytest2; shiny:value error
{chromote} JS info 19:48:53.17 shinytest2; shiny:busy
{chromote} JS info 19:48:53.17 shinytest2; shiny:idle
{chromote} JS info 19:48:53.19 shinytest2; shiny:busy
{shinytest2} R info 19:50:31.98 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:5811
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:162:9
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Deselection_of_cmdosfrq_dataset_ADCM_singleextract_select_throws_validation_error. (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 42s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:189:5')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:50:32.41 Start AppDriver initialization
{shinytest2} R info 19:50:32.44 Starting Shiny app
{shinytest2} R info 19:50:34.46 Creating new ChromoteSession
{shinytest2} R info 19:50:34.48 Navigating to Shiny app
{shinytest2} R info 19:50:34.58 Injecting shiny-tracer.js
{chromote} JS info 19:50:34.59 shinytest2; jQuery not found
{chromote} JS info 19:50:34.59 shinytest2; Loaded
{shinytest2} R info 19:50:34.59 Waiting for Shiny to become ready
{chromote} JS info 19:50:34.68 shinytest2; jQuery found
{chromote} JS info 19:50:34.68 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:50:34.81 shinytest2; Connected
{chromote} JS info 19:50:34.85 shinytest2; shiny:busy
{shinytest2} R info 19:50:34.90 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:50:34.90 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:50:36.14 shinytest2; shiny:idle
{chromote} JS info 19:50:36.14 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:50:36.14 shinytest2; shiny:value error
{chromote} JS info 19:50:36.14 shinytest2; shiny:busy
{chromote} JS info 19:50:36.14 shinytest2; shiny:idle
{chromote} JS info 19:50:36.16 shinytest2; shiny:busy
{shinytest2} R info 19:52:14.91 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:4819
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:189:5
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Selection_of_cmstdy_changes_the_element_and_does_not_throw_validation_errors (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:162:9')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:52:15.35 Start AppDriver initialization
{shinytest2} R info 19:52:15.37 Starting Shiny app
{shinytest2} R info 19:52:17.40 Creating new ChromoteSession
{shinytest2} R info 19:52:17.42 Navigating to Shiny app
{shinytest2} R info 19:52:17.56 Injecting shiny-tracer.js
{chromote} JS info 19:52:17.57 shinytest2; jQuery not found
{chromote} JS info 19:52:17.57 shinytest2; Loaded
{shinytest2} R info 19:52:17.57 Waiting for Shiny to become ready
{chromote} JS info 19:52:17.67 shinytest2; jQuery found
{chromote} JS info 19:52:17.67 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:52:17.82 shinytest2; Connected
{chromote} JS info 19:52:17.86 shinytest2; shiny:busy
{shinytest2} R info 19:52:17.88 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:52:17.89 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:52:19.10 shinytest2; shiny:idle
{chromote} JS info 19:52:19.10 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:52:19.10 shinytest2; shiny:value error
{chromote} JS info 19:52:19.11 shinytest2; shiny:busy
{chromote} JS info 19:52:19.11 shinytest2; shiny:idle
{chromote} JS info 19:52:19.13 shinytest2; shiny:busy
{shinytest2} R info 19:53:57.90 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:3622
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:162:9
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Deselection_of_cmstdy_dataset_ADCM_singleextract_select_throws_validation_error. (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:189:5')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:53:58.40 Start AppDriver initialization
{shinytest2} R info 19:53:58.43 Starting Shiny app
{shinytest2} R info 19:54:00.65 Creating new ChromoteSession
{shinytest2} R info 19:54:00.67 Navigating to Shiny app
{shinytest2} R info 19:54:00.78 Injecting shiny-tracer.js
{chromote} JS info 19:54:00.78 shinytest2; jQuery not found
{chromote} JS info 19:54:00.78 shinytest2; Loaded
{shinytest2} R info 19:54:00.79 Waiting for Shiny to become ready
{chromote} JS info 19:54:00.89 shinytest2; jQuery found
{chromote} JS info 19:54:00.89 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:54:01.01 shinytest2; Connected
{chromote} JS info 19:54:01.05 shinytest2; shiny:busy
{shinytest2} R info 19:54:01.10 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:54:01.10 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:54:02.33 shinytest2; shiny:idle
{chromote} JS info 19:54:02.33 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:54:02.33 shinytest2; shiny:value error
{chromote} JS info 19:54:02.34 shinytest2; shiny:busy
{chromote} JS info 19:54:02.34 shinytest2; shiny:idle
{chromote} JS info 19:54:02.36 shinytest2; shiny:busy
{shinytest2} R info 19:55:41.11 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:7949
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:189:5
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Selection_of_cmendy_changes_the_element_and_does_not_throw_validation_errors (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 42s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:162:9')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:55:41.56 Start AppDriver initialization
{shinytest2} R info 19:55:41.59 Starting Shiny app
{shinytest2} R info 19:55:43.62 Creating new ChromoteSession
{shinytest2} R info 19:55:43.64 Navigating to Shiny app
{shinytest2} R info 19:55:43.74 Injecting shiny-tracer.js
{chromote} JS info 19:55:43.75 shinytest2; jQuery not found
{chromote} JS info 19:55:43.75 shinytest2; Loaded
{shinytest2} R info 19:55:43.75 Waiting for Shiny to become ready
{chromote} JS info 19:55:43.84 shinytest2; jQuery found
{chromote} JS info 19:55:43.84 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:55:43.98 shinytest2; Connected
{chromote} JS info 19:55:44.03 shinytest2; shiny:busy
{shinytest2} R info 19:55:44.06 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:55:44.07 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:55:45.31 shinytest2; shiny:idle
{chromote} JS info 19:55:45.32 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:55:45.32 shinytest2; shiny:value error
{chromote} JS info 19:55:45.32 shinytest2; shiny:busy
{chromote} JS info 19:55:45.32 shinytest2; shiny:idle
{chromote} JS info 19:55:45.34 shinytest2; shiny:busy
{shinytest2} R info 19:57:24.08 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:4237
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:162:9
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Deselection_of_cmendy_dataset_ADCM_singleextract_select_throws_validation_error. (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:189:5')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:57:24.52 Start AppDriver initialization
{shinytest2} R info 19:57:24.55 Starting Shiny app
{shinytest2} R info 19:57:26.77 Creating new ChromoteSession
{shinytest2} R info 19:57:26.79 Navigating to Shiny app
{shinytest2} R info 19:57:26.91 Injecting shiny-tracer.js
{chromote} JS info 19:57:26.92 shinytest2; jQuery not found
{chromote} JS info 19:57:26.92 shinytest2; Loaded
{shinytest2} R info 19:57:26.92 Waiting for Shiny to become ready
{chromote} JS info 19:57:26.99 shinytest2; jQuery found
{chromote} JS info 19:57:26.99 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:57:27.04 shinytest2; Connected
{shinytest2} R info 19:57:27.13 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:57:27.14 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:57:27.14 shinytest2; shiny:busy
{chromote} JS info 19:57:28.31 shinytest2; shiny:idle
{chromote} JS info 19:57:28.32 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:57:28.32 shinytest2; shiny:value error
{chromote} JS info 19:57:28.32 shinytest2; shiny:busy
{chromote} JS info 19:57:28.32 shinytest2; shiny:idle
{chromote} JS info 19:57:28.32 shinytest2; shiny:busy
{shinytest2} R info 19:59:07.15 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:5021
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:189:5
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)
Check failure on line 0 in shinytest2_tm_g_pp_therapy
github-actions / Unit Tests Summary
e2e_tm_g_pp_therapy_Changing_font_size_changes_the_plot_and_does_not_throw_validation_errors. (shinytest2_tm_g_pp_therapy) with error
teal.modules.clinical.Rcheck/tests/testthat/junit-result.xml [took 1m 43s]
Raw output
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, ('test-shinytest2-tm_g_pp_therapy.R:231:7')
Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
i You can inspect the failed AppDriver object via `rlang::last_error()$app`
i AppDriver logs:
{shinytest2} R info 19:59:07.61 Start AppDriver initialization
{shinytest2} R info 19:59:07.64 Starting Shiny app
{shinytest2} R info 19:59:09.87 Creating new ChromoteSession
{shinytest2} R info 19:59:09.89 Navigating to Shiny app
{shinytest2} R info 19:59:10.00 Injecting shiny-tracer.js
{chromote} JS info 19:59:10.01 shinytest2; jQuery not found
{chromote} JS info 19:59:10.01 shinytest2; Loaded
{shinytest2} R info 19:59:10.01 Waiting for Shiny to become ready
{chromote} JS info 19:59:10.09 shinytest2; jQuery found
{chromote} JS info 19:59:10.09 shinytest2; Waiting for shiny session to connect
{chromote} JS info 19:59:10.21 shinytest2; Connected
{shinytest2} R info 19:59:10.22 Waiting for Shiny to become idle for 200ms within 1e+05ms
{chromote} JS info 19:59:10.22 shinytest2; Waiting for Shiny to be stable
{chromote} JS info 19:59:10.25 shinytest2; shiny:busy
{chromote} JS info 19:59:11.56 shinytest2; shiny:idle
{chromote} JS info 19:59:11.56 shinytest2; shiny:value teal-identifier
{chromote} JS info 19:59:11.56 shinytest2; shiny:value error
{chromote} JS info 19:59:11.56 shinytest2; shiny:busy
{chromote} JS info 19:59:11.56 shinytest2; shiny:idle
{chromote} JS info 19:59:11.59 shinytest2; shiny:busy
{shinytest2} R info 20:00:50.24 Error while initializing AppDriver:
Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
{shiny} R stderr ----------- Loading required package: shiny
{shiny} R stderr ----------- Attempting to load the environment ‘package:dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘dplyr’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:stats’:
{shiny} R stderr -----------
{shiny} R stderr ----------- filter, lag
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:base’:
{shiny} R stderr -----------
{shiny} R stderr ----------- intersect, setdiff, setequal, union
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal
{shiny} R stderr ----------- Loading required package: teal.data
{shiny} R stderr ----------- Loading required package: teal.code
{shiny} R stderr ----------- Loading required package: teal.slice
{shiny} R stderr -----------
{shiny} R stderr ----------- You are using teal version 0.15.2.9032
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘teal’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following objects are masked from ‘package:teal.slice’:
{shiny} R stderr -----------
{shiny} R stderr ----------- as.teal_slices, teal_slices
{shiny} R stderr -----------
{shiny} R stderr ----------- Loading required package: teal.transform
{shiny} R stderr ----------- Loading required package: tern
{shiny} R stderr ----------- Loading required package: rtables
{shiny} R stderr ----------- Loading required package: formatters
{shiny} R stderr ----------- Loading required package: magrittr
{shiny} R stderr -----------
{shiny} R stderr ----------- Attaching package: ‘rtables’
{shiny} R stderr -----------
{shiny} R stderr ----------- The following object is masked from ‘package:utils’:
{shiny} R stderr -----------
{shiny} R stderr ----------- str
{shiny} R stderr -----------
{shiny} R stderr ----------- Running application in test mode.
{shiny} R stderr -----------
{shiny} R stderr ----------- Listening on http://127.0.0.1:6906
{shiny} R stderr ----------- Initializing reporter_previewer_module
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 241: <Anonymous>
{shiny} R stderr ----------- 240: stop
{shiny} R stderr ----------- 239: mstop
{shiny} R stderr ----------- 238: makeAssertion
{shiny} R stderr ----------- 237: checkmate::assert_subset
{shiny} R stderr ----------- 236: variable_choices.data.frame
{shiny} R stderr ----------- 233: resolve.delayed_variable_choices
{shiny} R stderr ----------- 231: resolve.delayed_select_spec
{shiny} R stderr ----------- 229: resolve.delayed_data_extract_spec
{shiny} R stderr ----------- 227: resolve_delayed.list
{shiny} R stderr ----------- 213: module
{shiny} R stderr ----------- 208: callModule
{shiny} R stderr ----------- 207: moduleServer
{shiny} R stderr ----------- 206: data_extract_single_srv
{shiny} R stderr ----------- 205: FUN
{shiny} R stderr ----------- 204: lapply
{shiny} R stderr ----------- 203: module
{shiny} R stderr ----------- 198: callModule
{shiny} R stderr ----------- 197: moduleServer
{shiny} R stderr ----------- 196: data_extract_srv.list
{shiny} R stderr ----------- 194: FUN
{shiny} R stderr ----------- 193: lapply
{shiny} R stderr ----------- 192: sapply
{shiny} R stderr ----------- 191: <reactive>
{shiny} R stderr ----------- 175: selector_list
{shiny} R stderr ----------- 170: <reactive>
{shiny} R stderr ----------- 154: anl_inputs
{shiny} R stderr ----------- 153: as.expression
{shiny} R stderr ----------- 152: teal.code::eval_code
{shiny} R stderr ----------- 151: %>%
{shiny} R stderr ----------- 150: <reactive>
{shiny} R stderr ----------- 134: merged$anl_q
{shiny} R stderr ----------- 128: <reactive>
{shiny} R stderr ----------- 112: all_q
{shiny} R stderr ----------- 110: renderText
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-title
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 122: <Anonymous>
{shiny} R stderr ----------- 121: stop
{shiny} R stderr ----------- 120: all_q
{shiny} R stderr ----------- 117: exprFunc
{shiny} R stderr ----------- 116: widgetFunc
{shiny} R stderr ----------- 115: ::
{shiny} R stderr ----------- htmlwidgets
{shiny} R stderr ----------- shinyRenderWidget
{shiny} R stderr ----------- 114: func
{shiny} R stderr ----------- 101: renderFunc
{shiny} R stderr ----------- 100: renderFunc
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_table
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in variable_choices.data.frame: Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 162: <Anonymous>
{shiny} R stderr ----------- 161: stop
{shiny} R stderr ----------- 160: selector_list
{shiny} R stderr ----------- 159: teal.transform::compose_and_enable_validators
{shiny} R stderr ----------- 158: <reactive>
{shiny} R stderr ----------- 142: iv_r
{shiny} R stderr ----------- 135: <reactive>
{shiny} R stderr ----------- 119: plot_r
{shiny} R stderr ----------- 110: renderUI
{shiny} R stderr ----------- 109: func
{shiny} R stderr ----------- 96: renderFunc
{shiny} R stderr ----------- 95: output$teal-main_ui-root-therapy__e2e_-module-therapy_plot-plot_out_main
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
{shiny} R stderr ----------- Warning: Error in <Anonymous>: error in evaluating the argument 'code' in selecting a method for function 'eval_code': Assertion on 'subset' failed: Must be a subset of {'','USUBJID','STUDYID','CMCLAS','CMDECOD','ATIREL','CMCAT','COUNTRY','SITEID','SUBJID','AGE','SEX','ARMCD','ARM','ACTARMCD','ACTARM','RACE','TRTSDTM','TRTEDTM','EOSDY','EOSDT','STRATA1','STRATA2','BMRKR1','BMRKR2','REGION1','SAFFL','EOSSTT','EOTSTT','DCSREAS','DTHDT','ASTDTM','ASTDY','AENDTM','AENDY','CMSEQ','ATC1','ATC2','ATC3','ATC4','CMINDC','CMDOSE','CMTRT','CMDOSU','CMROUTE','CMDOSFRQ','CMASTDTM','CMAENDTM','ATIREL2','CMDECOD2','CMINDC2','CMDOSE2','CMDOSU2','CMROUTE2','CMDOSFRQ2','ASTDY2','AENDY2'}, but has additional elements {'CMTRT2'}.
{shiny} R stderr ----------- 14: <Anonymous>
{shiny} R stderr ----------- 12: <Anonymous>
{shiny} R stderr ----------- 11: <Anonymous>
{shiny} R stderr ----------- 10: base::do.call
{shiny} R stderr ----------- 9: base::saveRDS
{shiny} R stderr ----------- 8: base::withCallingHandlers
{shiny} R stderr ----------- 7: doTryCatch
{shiny} R stderr ----------- 6: tryCatchOne
{shiny} R stderr ----------- 5: tryCatchList
{shiny} R stderr ----------- 2: tryCatchList
{shiny} R stderr ----------- 1: base::tryCatch
Caused by error in `app_initialize_()`:
! Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable
Backtrace:
x
1. +-teal.modules.clinical (local) app_driver_tm_g_pp_therapy() at test-shinytest2-tm_g_pp_therapy.R:231:7
2. | \-teal.modules.clinical:::init_teal_app_driver(...) at test-shinytest2-tm_g_pp_therapy.R:31:3
3. | +-testthat::with_mocked_bindings(...) at tests/testthat/helper-TealAppDriver.R:7:3
4. | \-TealAppDriver$new(...) at tests/testthat/helper-TealAppDriver.R:10:7
5. | \-teal (local) initialize(...)
6. | +-base::suppressWarnings(...)
7. | | \-base::withCallingHandlers(...)
8. | \-super$initialize(...)
9. | \-shinytest2:::app_initialize(...)
10. | +-base::withCallingHandlers(...)
11. | \-shinytest2:::app_initialize_(self, private, ..., view = view)
12. | +-base::withCallingHandlers(...)
13. | \-self$wait_for_idle(duration = 200, timeout = private$load_timeout)
14. | \-shinytest2:::app_wait_for_idle(...)
15. | \-shinytest2:::app_abort(self, private, "An error occurred while waiting for Shiny to be stable")
16. | \-rlang::abort(..., app = self, call = call)
17. | \-rlang:::signal_abort(cnd, .file)
18. | \-base::signalCondition(cnd)
19. +-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
20. | \-shinytest2:::app_abort(...)
21. | \-rlang::abort(..., app = self, call = call)
22. | \-rlang:::signal_abort(cnd, .file)
23. | \-base::signalCondition(cnd)
24. \-shinytest2 (local) `<fn>`(`<rlng_rrr>`)
25. \-shinytest2:::app_abort(...)
26. \-rlang::abort(..., app = self, call = call)