Skip to content

picks#942

Open
gogonzo wants to merge 194 commits into
mainfrom
redesign_extraction@main
Open

picks#942
gogonzo wants to merge 194 commits into
mainfrom
redesign_extraction@main

Remove exported function as per NEWS

be16090
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Unit Tests Summary failed Jul 14, 2026 in 0s

9 errors, 3 fail, 1 skipped, 630 pass in 26m 15s

    1 files     36 suites   26m 15s ⏱️
  643 tests   630 ✅ 1 💤 3 ❌ 9 🔥
1 328 runs  1 314 ✅ 1 💤 4 ❌ 9 🔥

Results for commit be16090.

Annotations

Check warning on line 0 in examples

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 3 runs failed: example_tm_outliers.Rd (examples)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Expected `pkgload::run_example(...)` not to throw any errors. ('test-examples.R:155:7')
Expected `pkgload::run_example(...)` not to throw any errors.
Actually got a <simpleError> with message:
  Assertion on 'outlier_var' failed: May only contain the following types: {data_extract_spec}, but element 1 has type 'picks,list'.
Backtrace:
    ▆
 1. ├─teal.modules.general (local) with_mocked_app_bindings(...) at test-examples.R:155:7
 2. │ ├─testthat::with_mocked_bindings(...) at test-examples.R:121:3
 3. │ └─testthat::with_mocked_bindings(...) at test-examples.R:121:3
 4. ├─teal.modules.general (local) suppress_warnings(...) at test-examples.R:121:3
 5. │ └─base::withCallingHandlers(...) at test-examples.R:24:3
 6. └─testthat::expect_no_error(...)

Check warning on line 0 in shinytest2_tm_g_distribution

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 10 runs failed: e2e_tm_g_distribution_Module_is_initialised_with_the_specified_defaults. (shinytest2_tm_g_distribution)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 1m 16s]
Raw output
Expected `self$get_html(".shiny-output-error:not(.shiny-output-error-validation)")` to be NULL. ('test-shinytest2-tm_g_distribution.R:54:3')
Expected `self$get_html(".shiny-output-error:not(.shiny-output-error-validation)")` to be NULL.
Differences:
`actual` is a character vector ('<div id="teal-teal_modules-nav-distribution_module-module-hist_plot-plot_out_main" class="shiny-html-output shiny-bound-output shiny-output-error" aria-live="polite">object \'g_var\' not found</div>', '<div class="shiny-output-error htmlwidgets-error" style="position: absolute; top: 184px; left: 16px; max-width: 432px; height: 0px;">object \'g_var\' not found</div>')
`expected` is NULL

Shiny error is observed
Backtrace:
    ▆
 1. └─app_driver$expect_no_shiny_error() at test-shinytest2-tm_g_distribution.R:54:3
 2.   └─testthat::expect_null(...)

Check failure on line 0 in tm_a_regression

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

tests_for_module_creation_ui_is_of_the_expected_type (tm_a_regression) with error

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
<evalError/missingArgError/error/condition> ('test-tm_a_regression.R:170:5')
<evalError/missingArgError/error/condition>
Error in `(function (id, ...)  {     ns <- NS(id)     args <- list(...)     is_single_dataset_value <- teal.transform::is_single_dataset(args$regressor, args$response)     teal.widgets::standard_layout(output = teal.widgets::white_small_well(tags$div(teal.widgets::plot_with_settings_ui(id = ns("myplot")), tags$div(verbatimTextOutput(ns("text"))))), encoding = tags$div(tags$label("Encodings", class = "text-primary"), tags$br(), teal.transform::datanames_input(args[c("response", "regressor")]), teal.transform::data_extract_ui(id = ns("response"), label = "Response variable", data_extract_spec = args$response, is_single_dataset = is_single_dataset_value), teal.transform::data_extract_ui(id = ns("regressor"),          label = "Regressor variables", data_extract_spec = args$regressor, is_single_dataset = is_single_dataset_value), radioButtons(ns("plot_type"), label = "Plot type:", choices = args$plot_choices, selected = args$plot_choices[args$default_plot_type]), checkboxInput(ns("show_outlier"), label = "Display outlier labels", value = TRUE), conditionalPanel(condition = "input['show_outlier']", ns = ns, teal.widgets::optionalSliderInput(ns("outlier"), tags$div(tagList("Outlier definition:", bslib::tooltip(icon("fas fa-circle-info"),          paste("Use the slider to choose the cut-off value to define outliers.", "Points with a Cook's distance greater than", "the value on the slider times the mean of the Cook's distance of the dataset will have labels.")))), min = 1, max = 10, value = 9, ticks = FALSE, step = 0.1), teal.widgets::optionalSelectInput(ns("label_var"), multiple = FALSE, label = "Outlier label")), teal::ui_transform_teal_data(ns("decorator"), transformators = select_decorators(args$decorators, "plot")), bslib::accordion(open = TRUE,          bslib::accordion_panel(title = "Plot settings", teal.widgets::optionalSliderInputValMinMax(ns("alpha"), "Opacity:", args$alpha, ticks = FALSE), teal.widgets::optionalSliderInputValMinMax(ns("size"), "Points size:", args$size, ticks = FALSE), teal.widgets::optionalSliderInputValMinMax(inputId = ns("label_min_segment"), label = tags$div(tagList("Label min. segment:", bslib::tooltip(icon("circle-info"), tags$span(paste("Use the slider to choose the cut-off value to define minimum distance between label and point",              "that generates a line segment.", "It's only valid when 'Display outlier labels' is checked."))))), value_min_max = args$label_segment_threshold, ticks = FALSE, step = 0.1, round = FALSE), selectInput(inputId = ns("ggtheme"), label = "Theme (by ggplot):", choices = ggplot_themes, selected = args$ggtheme, multiple = FALSE)))), pre_output = args$pre_output, post_output = args$post_output) })(id = "test", plot_choices = c("Response vs Regressor", "Residuals vs Fitted", "Normal Q-Q", "Scale-Location", "Cook's distance", "Residuals vs Leverage", "Cook's dist vs Leverage"), label = "Regression Analysis", regressor = list(structure(list(dataname = "CO2", select = structure(list(choices = structure(c(`conc: conc` = "conc", `Treatment: Treatment` = "Treatment"), raw_labels = c("conc", "Treatment"), combined_labels = c("conc: conc", "Treatment: Treatment"), class = c("choices_labeled", "character" ), types = c(conc = "numeric", Treatment = "factor")), selected = c(conc = "conc"), multiple = TRUE, fixed = FALSE, always_selected = NULL, ordered = FALSE, label = "Select variables:"), class = "select_spec"), filter = NULL, reshape = FALSE), class = "data_extract_spec")), response = list(structure(list(dataname = "CO2", select = structure(list(choices = c(uptake = "uptake"), selected = c(uptake = "uptake"), multiple = FALSE, fixed = TRUE, always_selected = NULL, ordered = FALSE, label = "Select variable:"), class = "select_spec"),      filter = NULL, reshape = FALSE), class = "data_extract_spec")), outlier = , plot_height = c(600, 200, 2000), plot_width = NULL, alpha = c(1, 0, 1), size = c(2, 1, 8), ggtheme = "gray", ggplot2_args = list(default = structure(list(labs = list(), theme = list()), class = "ggplot2_args")), pre_output = NULL, post_output = NULL, default_plot_type = 1, default_outlier_label = "USUBJID", label_segment_threshold = c(0.5, 0, 10), transformators = list(), decorators = list())`: argument is missing, with no default
Backtrace:
    ▆
 1. ├─base::do.call(mod$ui, c(list(id = "test"), mod$ui_args)) at test-tm_a_regression.R:170:5
 2. └─teal.modules.general (local) `<fn>`(...)

Check failure on line 0 in tm_data_table

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

tm_data_table_module_server_behavior_returns_a_teal_data_object (tm_data_table) with error

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `eval_bare(expr, quo_get_env(quo))`: attempt to apply non-function ('test-tm_data_table.R:138:9')
Error in `eval_bare(expr, quo_get_env(quo))`: attempt to apply non-function
Backtrace:
     ▆
  1. ├─shiny::testServer(...) at test-tm_data_table.R:126:5
  2. │ ├─shiny:::withMockContext(...)
  3. │ │ ├─shiny::isolate(...)
  4. │ │ │ ├─shiny::..stacktraceoff..(...)
  5. │ │ │ └─ctx$run(...)
  6. │ │ │   ├─promises::with_promise_domain(...)
  7. │ │ │   │ └─domain$wrapSync(expr)
  8. │ │ │   ├─shiny::withReactiveDomain(...)
  9. │ │ │   │ └─promises::with_promise_domain(...)
 10. │ │ │   │   └─domain$wrapSync(expr)
 11. │ │ │   │     └─base::force(expr)
 12. │ │ │   ├─shiny:::with_otel_span_context(...)
 13. │ │ │   │ └─base::force(expr)
 14. │ │ │   ├─shiny::captureStackTraces(...)
 15. │ │ │   │ └─promises::with_promise_domain(...)
 16. │ │ │   │   └─domain$wrapSync(expr)
 17. │ │ │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
 18. │ │ │   └─env$runWith(self, func)
 19. │ │ │     └─shiny (local) contextFunc()
 20. │ │ │       └─shiny::..stacktraceon..(expr)
 21. │ │ ├─shiny::withReactiveDomain(...)
 22. │ │ │ └─promises::with_promise_domain(...)
 23. │ │ │   └─domain$wrapSync(expr)
 24. │ │ │     └─base::force(expr)
 25. │ │ └─withr::with_options(...)
 26. │ │   └─base::force(code)
 27. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
 28. ├─testthat::expect_s4_class(session$returned[["ADSL"]](), "teal_data") at test-tm_data_table.R:138:9
 29. │ └─testthat::quasi_label(enquo(object))
 30. │   └─rlang::eval_bare(expr, quo_get_env(quo))
 31. └─base::.handleSimpleError(...)
 32.   └─shiny (local) h(simpleError(msg, call))

Check failure on line 0 in tm_data_table

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

tm_data_table_module_server_behavior_with_if_distinct_option_returns_only_distinct_rows_when_if_distinct_is_TRUE (tm_data_table) with error

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `rlang::eval_tidy(quosure, mask, rlang::caller_env())`: attempt to apply non-function ('test-tm_data_table.R:168:9')
Error in `rlang::eval_tidy(quosure, mask, rlang::caller_env())`: attempt to apply non-function
Backtrace:
     ▆
  1. ├─shiny::testServer(...) at test-tm_data_table.R:156:5
  2. │ ├─shiny:::withMockContext(...)
  3. │ │ ├─shiny::isolate(...)
  4. │ │ │ ├─shiny::..stacktraceoff..(...)
  5. │ │ │ └─ctx$run(...)
  6. │ │ │   ├─promises::with_promise_domain(...)
  7. │ │ │   │ └─domain$wrapSync(expr)
  8. │ │ │   ├─shiny::withReactiveDomain(...)
  9. │ │ │   │ └─promises::with_promise_domain(...)
 10. │ │ │   │   └─domain$wrapSync(expr)
 11. │ │ │   │     └─base::force(expr)
 12. │ │ │   ├─shiny:::with_otel_span_context(...)
 13. │ │ │   │ └─base::force(expr)
 14. │ │ │   ├─shiny::captureStackTraces(...)
 15. │ │ │   │ └─promises::with_promise_domain(...)
 16. │ │ │   │   └─domain$wrapSync(expr)
 17. │ │ │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
 18. │ │ │   └─env$runWith(self, func)
 19. │ │ │     └─shiny (local) contextFunc()
 20. │ │ │       └─shiny::..stacktraceon..(expr)
 21. │ │ ├─shiny::withReactiveDomain(...)
 22. │ │ │ └─promises::with_promise_domain(...)
 23. │ │ │   └─domain$wrapSync(expr)
 24. │ │ │     └─base::force(expr)
 25. │ │ └─withr::with_options(...)
 26. │ │   └─base::force(code)
 27. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
 28. └─base::.handleSimpleError(...) at test-tm_data_table.R:168:9
 29.   └─shiny (local) h(simpleError(msg, call))

Check failure on line 0 in tm_data_table

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

tm_data_table_module_server_behavior_with_if_distinct_option_returns_all_rows_including_duplicates_when_if_distinct_is_FALSE (tm_data_table) with error

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `rlang::eval_tidy(quosure, mask, rlang::caller_env())`: attempt to apply non-function ('test-tm_data_table.R:188:9')
Error in `rlang::eval_tidy(quosure, mask, rlang::caller_env())`: attempt to apply non-function
Backtrace:
     ▆
  1. ├─shiny::testServer(...) at test-tm_data_table.R:176:5
  2. │ ├─shiny:::withMockContext(...)
  3. │ │ ├─shiny::isolate(...)
  4. │ │ │ ├─shiny::..stacktraceoff..(...)
  5. │ │ │ └─ctx$run(...)
  6. │ │ │   ├─promises::with_promise_domain(...)
  7. │ │ │   │ └─domain$wrapSync(expr)
  8. │ │ │   ├─shiny::withReactiveDomain(...)
  9. │ │ │   │ └─promises::with_promise_domain(...)
 10. │ │ │   │   └─domain$wrapSync(expr)
 11. │ │ │   │     └─base::force(expr)
 12. │ │ │   ├─shiny:::with_otel_span_context(...)
 13. │ │ │   │ └─base::force(expr)
 14. │ │ │   ├─shiny::captureStackTraces(...)
 15. │ │ │   │ └─promises::with_promise_domain(...)
 16. │ │ │   │   └─domain$wrapSync(expr)
 17. │ │ │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
 18. │ │ │   └─env$runWith(self, func)
 19. │ │ │     └─shiny (local) contextFunc()
 20. │ │ │       └─shiny::..stacktraceon..(expr)
 21. │ │ ├─shiny::withReactiveDomain(...)
 22. │ │ │ └─promises::with_promise_domain(...)
 23. │ │ │   └─domain$wrapSync(expr)
 24. │ │ │     └─base::force(expr)
 25. │ │ └─withr::with_options(...)
 26. │ │   └─base::force(code)
 27. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
 28. └─base::.handleSimpleError(...) at test-tm_data_table.R:188:9
 29.   └─shiny (local) h(simpleError(msg, call))

Check warning on line 0 in tm_data_table

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

All 2 runs failed: tm_data_table_module_server_behavior_with_if_distinct_option_does_not_error_when_variables_is_NULL_regardless_of_if_distinct (tm_data_table)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Expected `session$returned[["test_df"]]()` not to throw any errors. ('test-tm_data_table.R:205:9')
Expected `session$returned[["test_df"]]()` not to throw any errors.
Actually got a <simpleError> with message:
  attempt to apply non-function
Backtrace:
     ▆
  1. ├─shiny::testServer(...) at test-tm_data_table.R:196:5
  2. │ ├─shiny:::withMockContext(...)
  3. │ │ ├─shiny::isolate(...)
  4. │ │ │ ├─shiny::..stacktraceoff..(...)
  5. │ │ │ └─ctx$run(...)
  6. │ │ │   ├─promises::with_promise_domain(...)
  7. │ │ │   │ └─domain$wrapSync(expr)
  8. │ │ │   ├─shiny::withReactiveDomain(...)
  9. │ │ │   │ └─promises::with_promise_domain(...)
 10. │ │ │   │   └─domain$wrapSync(expr)
 11. │ │ │   │     └─base::force(expr)
 12. │ │ │   ├─shiny:::with_otel_span_context(...)
 13. │ │ │   │ └─base::force(expr)
 14. │ │ │   ├─shiny::captureStackTraces(...)
 15. │ │ │   │ └─promises::with_promise_domain(...)
 16. │ │ │   │   └─domain$wrapSync(expr)
 17. │ │ │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
 18. │ │ │   └─env$runWith(self, func)
 19. │ │ │     └─shiny (local) contextFunc()
 20. │ │ │       └─shiny::..stacktraceon..(expr)
 21. │ │ ├─shiny::withReactiveDomain(...)
 22. │ │ │ └─promises::with_promise_domain(...)
 23. │ │ │   └─domain$wrapSync(expr)
 24. │ │ │     └─base::force(expr)
 25. │ │ └─withr::with_options(...)
 26. │ │   └─base::force(code)
 27. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
 28. └─testthat::expect_no_error(session$returned[["test_df"]]()) at test-tm_data_table.R:205:9

Check failure on line 0 in tm_g_bivariate

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 2 runs with error: tm_g_bivariate_module_server_behavior_server_function_handles_use_density_option (tm_g_bivariate)

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `as.name(y)`: invalid data of mode 'character' (too short) ('test-tm_g_bivariate.R:735:9')
Error in `as.name(y)`: invalid data of mode 'character' (too short)
Backtrace:
     ▆
  1. ├─shiny::testServer(...) at test-tm_g_bivariate.R:717:5
  2. │ ├─shiny:::withMockContext(...)
  3. │ │ ├─shiny::isolate(...)
  4. │ │ │ ├─shiny::..stacktraceoff..(...)
  5. │ │ │ └─ctx$run(...)
  6. │ │ │   ├─promises::with_promise_domain(...)
  7. │ │ │   │ └─domain$wrapSync(expr)
  8. │ │ │   ├─shiny::withReactiveDomain(...)
  9. │ │ │   │ └─promises::with_promise_domain(...)
 10. │ │ │   │   └─domain$wrapSync(expr)
 11. │ │ │   │     └─base::force(expr)
 12. │ │ │   ├─shiny:::with_otel_span_context(...)
 13. │ │ │   │ └─base::force(expr)
 14. │ │ │   ├─shiny::captureStackTraces(...)
 15. │ │ │   │ └─promises::with_promise_domain(...)
 16. │ │ │   │   └─domain$wrapSync(expr)
 17. │ │ │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
 18. │ │ │   └─env$runWith(self, func)
 19. │ │ │     └─shiny (local) contextFunc()
 20. │ │ │       └─shiny::..stacktraceon..(expr)
 21. │ │ ├─shiny::withReactiveDomain(...)
 22. │ │ │ └─promises::with_promise_domain(...)
 23. │ │ │   └─domain$wrapSync(expr)
 24. │ │ │     └─base::force(expr)
 25. │ │ └─withr::with_options(...)
 26. │ │   └─base::force(code)
 27. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
 28. ├─shiny (local) output_q() at test-tm_g_bivariate.R:735:9
 29. │ └─base::stop(.value)
 30. └─shiny (local) `<fn>`(`<smplErrr>`)

Check failure on line 0 in tm_g_distribution

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

tm_g_response_module_server_behavior_server_function_returns_teal_report_object_with_valid_inputs (tm_g_distribution) with error

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in ``<reactive>`(...)`: object 'g_var' not found ('test-tm_g_distribution.R:224:9')
Error in ``<reactive>`(...)`: object 'g_var' not found
Backtrace:
     ▆
  1. ├─shiny::testServer(...) at test-tm_g_distribution.R:215:5
  2. │ ├─shiny:::withMockContext(...)
  3. │ │ ├─shiny::isolate(...)
  4. │ │ │ ├─shiny::..stacktraceoff..(...)
  5. │ │ │ └─ctx$run(...)
  6. │ │ │   ├─promises::with_promise_domain(...)
  7. │ │ │   │ └─domain$wrapSync(expr)
  8. │ │ │   ├─shiny::withReactiveDomain(...)
  9. │ │ │   │ └─promises::with_promise_domain(...)
 10. │ │ │   │   └─domain$wrapSync(expr)
 11. │ │ │   │     └─base::force(expr)
 12. │ │ │   ├─shiny:::with_otel_span_context(...)
 13. │ │ │   │ └─base::force(expr)
 14. │ │ │   ├─shiny::captureStackTraces(...)
 15. │ │ │   │ └─promises::with_promise_domain(...)
 16. │ │ │   │   └─domain$wrapSync(expr)
 17. │ │ │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
 18. │ │ │   └─env$runWith(self, func)
 19. │ │ │     └─shiny (local) contextFunc()
 20. │ │ │       └─shiny::..stacktraceon..(expr)
 21. │ │ ├─shiny::withReactiveDomain(...)
 22. │ │ │ └─promises::with_promise_domain(...)
 23. │ │ │   └─domain$wrapSync(expr)
 24. │ │ │     └─base::force(expr)
 25. │ │ └─withr::with_options(...)
 26. │ │   └─base::force(code)
 27. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
 28. ├─testthat::expect_s4_class(session$returned(), "teal_report") at test-tm_g_distribution.R:224:9
 29. │ └─testthat::quasi_label(enquo(object))
 30. │   └─rlang::eval_bare(expr, quo_get_env(quo))
 31. ├─session$returned()
 32. │ ├─shiny::..stacktraceoff..(self$.updateValue())
 33. │ └─self$.updateValue()
 34. │   └─ctx$run(...)
 35. │     ├─promises::with_promise_domain(...)
 36. │     │ └─domain$wrapSync(expr)
 37. │     ├─shiny::withReactiveDomain(...)
 38. │     │ └─promises::with_promise_domain(...)
 39. │     │   └─domain$wrapSync(expr)
 40. │     │     └─base::force(expr)
 41. │     ├─shiny:::with_otel_span_context(...)
 42. │     │ └─base::force(expr)
 43. │     ├─shiny::captureStackTraces(...)
 44. │     │ └─promises::with_promise_domain(...)
 45. │     │   └─domain$wrapSync(expr)
 46. │     │     └─base::withCallingHandlers(expr, error = doCaptureStack)
 47. │     └─env$runWith(self, func)
 48. │       └─shiny (local) contextFunc()
 49. │         ├─base::withCallingHandlers(...)
 50. │         ├─base::withVisible(.func())
 51. │         └─shiny (local) .func()
 52. │           ├─shiny::..stacktraceon..(`<reactive>`(...))
 53. │           └─teal.modules.general (local) `<reactive>`(...)
 54. │             └─shiny (local) decorated_output_test_q()
 55. │               └─base::stop(.value)
 56. ├─shiny (local) `<fn>`(`<smplErrr>`)
 57. │ └─base::stop(e)
 58. └─shiny (local) `<fn>`(`<smplErrr>`)

Check failure on line 0 in tm_g_distribution

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

tm_g_response_module_server_behavior_server_function_returns_teal_report_object_with_valid_inputs_with_strata_ (tm_g_distribution) with error

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in ``<reactive>`(...)`: object 'g_var' not found ('test-tm_g_distribution.R:273:9')
Error in ``<reactive>`(...)`: object 'g_var' not found
Backtrace:
     ▆
  1. ├─shiny::testServer(...) at test-tm_g_distribution.R:266:5
  2. │ ├─shiny:::withMockContext(...)
  3. │ │ ├─shiny::isolate(...)
  4. │ │ │ ├─shiny::..stacktraceoff..(...)
  5. │ │ │ └─ctx$run(...)
  6. │ │ │   ├─promises::with_promise_domain(...)
  7. │ │ │   │ └─domain$wrapSync(expr)
  8. │ │ │   ├─shiny::withReactiveDomain(...)
  9. │ │ │   │ └─promises::with_promise_domain(...)
 10. │ │ │   │   └─domain$wrapSync(expr)
 11. │ │ │   │     └─base::force(expr)
 12. │ │ │   ├─shiny:::with_otel_span_context(...)
 13. │ │ │   │ └─base::force(expr)
 14. │ │ │   ├─shiny::captureStackTraces(...)
 15. │ │ │   │ └─promises::with_promise_domain(...)
 16. │ │ │   │   └─domain$wrapSync(expr)
 17. │ │ │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
 18. │ │ │   └─env$runWith(self, func)
 19. │ │ │     └─shiny (local) contextFunc()
 20. │ │ │       └─shiny::..stacktraceon..(expr)
 21. │ │ ├─shiny::withReactiveDomain(...)
 22. │ │ │ └─promises::with_promise_domain(...)
 23. │ │ │   └─domain$wrapSync(expr)
 24. │ │ │     └─base::force(expr)
 25. │ │ └─withr::with_options(...)
 26. │ │   └─base::force(code)
 27. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
 28. ├─testthat::expect_match(...) at test-tm_g_distribution.R:273:9
 29. │ └─testthat::quasi_label(enquo(object), label)
 30. │   └─rlang::eval_bare(expr, quo_get_env(quo))
 31. ├─teal.code::get_code(session$returned())
 32. │ └─teal.code::dev_suppress(object)
 33. │   └─base::force(x)
 34. ├─session$returned()
 35. │ ├─shiny::..stacktraceoff..(self$.updateValue())
 36. │ └─self$.updateValue()
 37. │   └─ctx$run(...)
 38. │     ├─promises::with_promise_domain(...)
 39. │     │ └─domain$wrapSync(expr)
 40. │     ├─shiny::withReactiveDomain(...)
 41. │     │ └─promises::with_promise_domain(...)
 42. │     │   └─domain$wrapSync(expr)
 43. │     │     └─base::force(expr)
 44. │     ├─shiny:::with_otel_span_context(...)
 45. │     │ └─base::force(expr)
 46. │     ├─shiny::captureStackTraces(...)
 47. │     │ └─promises::with_promise_domain(...)
 48. │     │   └─domain$wrapSync(expr)
 49. │     │     └─base::withCallingHandlers(expr, error = doCaptureStack)
 50. │     └─env$runWith(self, func)
 51. │       └─shiny (local) contextFunc()
 52. │         ├─base::withCallingHandlers(...)
 53. │         ├─base::withVisible(.func())
 54. │         └─shiny (local) .func()
 55. │           ├─shiny::..stacktraceon..(`<reactive>`(...))
 56. │           └─teal.modules.general (local) `<reactive>`(...)
 57. │             └─shiny (local) decorated_output_test_q()
 58. │               └─base::stop(.value)
 59. ├─shiny (local) `<fn>`(`<smplErrr>`)
 60. │ └─base::stop(e)
 61. └─shiny (local) `<fn>`(`<smplErrr>`)

Check failure on line 0 in tm_g_distribution

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

tm_g_response_module_server_behavior_server_function_returns_teal_report_object_with_valid_inputs_with_group_ (tm_g_distribution) with error

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in ``<reactive>`(...)`: object 'g_var' not found ('test-tm_g_distribution.R:314:9')
Error in ``<reactive>`(...)`: object 'g_var' not found
Backtrace:
     ▆
  1. ├─shiny::testServer(...) at test-tm_g_distribution.R:303:5
  2. │ ├─shiny:::withMockContext(...)
  3. │ │ ├─shiny::isolate(...)
  4. │ │ │ ├─shiny::..stacktraceoff..(...)
  5. │ │ │ └─ctx$run(...)
  6. │ │ │   ├─promises::with_promise_domain(...)
  7. │ │ │   │ └─domain$wrapSync(expr)
  8. │ │ │   ├─shiny::withReactiveDomain(...)
  9. │ │ │   │ └─promises::with_promise_domain(...)
 10. │ │ │   │   └─domain$wrapSync(expr)
 11. │ │ │   │     └─base::force(expr)
 12. │ │ │   ├─shiny:::with_otel_span_context(...)
 13. │ │ │   │ └─base::force(expr)
 14. │ │ │   ├─shiny::captureStackTraces(...)
 15. │ │ │   │ └─promises::with_promise_domain(...)
 16. │ │ │   │   └─domain$wrapSync(expr)
 17. │ │ │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
 18. │ │ │   └─env$runWith(self, func)
 19. │ │ │     └─shiny (local) contextFunc()
 20. │ │ │       └─shiny::..stacktraceon..(expr)
 21. │ │ ├─shiny::withReactiveDomain(...)
 22. │ │ │ └─promises::with_promise_domain(...)
 23. │ │ │   └─domain$wrapSync(expr)
 24. │ │ │     └─base::force(expr)
 25. │ │ └─withr::with_options(...)
 26. │ │   └─base::force(code)
 27. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
 28. ├─testthat::expect_match(...) at test-tm_g_distribution.R:314:9
 29. │ └─testthat::quasi_label(enquo(object), label)
 30. │   └─rlang::eval_bare(expr, quo_get_env(quo))
 31. ├─teal.code::get_code(session$returned())
 32. │ └─teal.code::dev_suppress(object)
 33. │   └─base::force(x)
 34. ├─session$returned()
 35. │ ├─shiny::..stacktraceoff..(self$.updateValue())
 36. │ └─self$.updateValue()
 37. │   └─ctx$run(...)
 38. │     ├─promises::with_promise_domain(...)
 39. │     │ └─domain$wrapSync(expr)
 40. │     ├─shiny::withReactiveDomain(...)
 41. │     │ └─promises::with_promise_domain(...)
 42. │     │   └─domain$wrapSync(expr)
 43. │     │     └─base::force(expr)
 44. │     ├─shiny:::with_otel_span_context(...)
 45. │     │ └─base::force(expr)
 46. │     ├─shiny::captureStackTraces(...)
 47. │     │ └─promises::with_promise_domain(...)
 48. │     │   └─domain$wrapSync(expr)
 49. │     │     └─base::withCallingHandlers(expr, error = doCaptureStack)
 50. │     └─env$runWith(self, func)
 51. │       └─shiny (local) contextFunc()
 52. │         ├─base::withCallingHandlers(...)
 53. │         ├─base::withVisible(.func())
 54. │         └─shiny (local) .func()
 55. │           ├─shiny::..stacktraceon..(`<reactive>`(...))
 56. │           └─teal.modules.general (local) `<reactive>`(...)
 57. │             └─shiny (local) decorated_output_test_q()
 58. │               └─base::stop(.value)
 59. ├─shiny (local) `<fn>`(`<smplErrr>`)
 60. │ └─base::stop(e)
 61. └─shiny (local) `<fn>`(`<smplErrr>`)

Check failure on line 0 in tm_g_distribution

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

tm_g_response_module_server_behavior_server_function_returns_teal_report_object_with_valid_inputs_with_group_and_strata_ (tm_g_distribution) with error

teal.modules.general.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in ``<reactive>`(...)`: object 'g_var' not found ('test-tm_g_distribution.R:363:9')
Error in ``<reactive>`(...)`: object 'g_var' not found
Backtrace:
     ▆
  1. ├─shiny::testServer(...) at test-tm_g_distribution.R:351:5
  2. │ ├─shiny:::withMockContext(...)
  3. │ │ ├─shiny::isolate(...)
  4. │ │ │ ├─shiny::..stacktraceoff..(...)
  5. │ │ │ └─ctx$run(...)
  6. │ │ │   ├─promises::with_promise_domain(...)
  7. │ │ │   │ └─domain$wrapSync(expr)
  8. │ │ │   ├─shiny::withReactiveDomain(...)
  9. │ │ │   │ └─promises::with_promise_domain(...)
 10. │ │ │   │   └─domain$wrapSync(expr)
 11. │ │ │   │     └─base::force(expr)
 12. │ │ │   ├─shiny:::with_otel_span_context(...)
 13. │ │ │   │ └─base::force(expr)
 14. │ │ │   ├─shiny::captureStackTraces(...)
 15. │ │ │   │ └─promises::with_promise_domain(...)
 16. │ │ │   │   └─domain$wrapSync(expr)
 17. │ │ │   │     └─base::withCallingHandlers(expr, error = doCaptureStack)
 18. │ │ │   └─env$runWith(self, func)
 19. │ │ │     └─shiny (local) contextFunc()
 20. │ │ │       └─shiny::..stacktraceon..(expr)
 21. │ │ ├─shiny::withReactiveDomain(...)
 22. │ │ │ └─promises::with_promise_domain(...)
 23. │ │ │   └─domain$wrapSync(expr)
 24. │ │ │     └─base::force(expr)
 25. │ │ └─withr::with_options(...)
 26. │ │   └─base::force(code)
 27. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
 28. ├─testthat::expect_match(...) at test-tm_g_distribution.R:363:9
 29. │ └─testthat::quasi_label(enquo(object), label)
 30. │   └─rlang::eval_bare(expr, quo_get_env(quo))
 31. ├─teal.code::get_code(session$returned())
 32. │ └─teal.code::dev_suppress(object)
 33. │   └─base::force(x)
 34. ├─session$returned()
 35. │ ├─shiny::..stacktraceoff..(self$.updateValue())
 36. │ └─self$.updateValue()
 37. │   └─ctx$run(...)
 38. │     ├─promises::with_promise_domain(...)
 39. │     │ └─domain$wrapSync(expr)
 40. │     ├─shiny::withReactiveDomain(...)
 41. │     │ └─promises::with_promise_domain(...)
 42. │     │   └─domain$wrapSync(expr)
 43. │     │     └─base::force(expr)
 44. │     ├─shiny:::with_otel_span_context(...)
 45. │     │ └─base::force(expr)
 46. │     ├─shiny::captureStackTraces(...)
 47. │     │ └─promises::with_promise_domain(...)
 48. │     │   └─domain$wrapSync(expr)
 49. │     │     └─base::withCallingHandlers(expr, error = doCaptureStack)
 50. │     └─env$runWith(self, func)
 51. │       └─shiny (local) contextFunc()
 52. │         ├─base::withCallingHandlers(...)
 53. │         ├─base::withVisible(.func())
 54. │         └─shiny (local) .func()
 55. │           ├─shiny::..stacktraceon..(`<reactive>`(...))
 56. │           └─teal.modules.general (local) `<reactive>`(...)
 57. │             └─shiny (local) decorated_output_test_q()
 58. │               └─base::stop(.value)
 59. ├─shiny (local) `<fn>`(`<smplErrr>`)
 60. │ └─base::stop(e)
 61. └─shiny (local) `<fn>`(`<smplErrr>`)