* using log directory 'd:/Rcompile/CRANpkg/local/4.4/teal.widgets.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'teal.widgets/DESCRIPTION' ... OK * this is package 'teal.widgets' version '0.5.1' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'teal.widgets' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [6s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [10s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [21s] ERROR Running 'testthat.R' [21s] Running the tests in 'tests/testthat.R' failed. Complete output: > pkg_name <- "teal.widgets" > library(pkg_name, character.only = TRUE) > if (!is.null(requireNamespace("testthat"))) { + library(testthat) + test_check(pkg_name) + } else { + message("Please install testthat to run tests") + } Loading required namespace: testthat Loading required package: shiny Saving _problems/test-table_with_settings-39.R Saving _problems/test-table_with_settings-65.R Saving _problems/test-table_with_settings-83.R Saving _problems/test-table_with_settings-102.R Saving _problems/test-table_with_settings-121.R Saving _problems/test-table_with_settings-135.R Saving _problems/test-table_with_settings-158.R [ FAIL 9 | WARN 0 | SKIP 30 | PASS 225 ] ══ Skipped tests (30) ══════════════════════════════════════════════════════════ • On CRAN (3): 'test-optionalSliderInputValMinMax_ui.R:37:1', 'test-verbatim_popup_ui.R:153:1', 'test-white_small_well.R:7:1' • testing depth 3 is below current testing specification 5 (27): 'test-draggable_buckets.R:19:5', 'test-draggable_buckets.R:42:5', 'test-draggable_buckets.R:68:5', 'test-get_dt_rows_ui.R:48:5', 'test-optionalSelectInput_ui.R:95:5', 'test-optionalSliderInputValMinMax_ui.R:16:5', 'test-plot_with_settings_ui.R:110:5', 'test-plot_with_settings_ui.R:133:5', 'test-plot_with_settings_ui.R:196:5', 'test-plot_with_settings_ui.R:238:5', 'test-plot_with_settings_ui.R:278:5', 'test-plot_with_settings_ui.R:323:5', 'test-plot_with_settings_ui.R:348:5', 'test-plot_with_settings_ui.R:369:3', 'test-plot_with_settings_ui.R:424:3', 'test-plot_with_settings_ui.R:447:3', 'test-plot_with_settings_ui.R:493:3', 'test-table_with_settings_ui.R:72:5', 'test-table_with_settings_ui.R:96:5', 'test-table_with_settings_ui.R:162:5', 'test-table_with_settings_ui.R:191:5', 'test-table_with_settings_ui.R:230:5', 'test-table_with_settings_ui.R:298:5', 'test-table_with_settings_ui.R:324:5', 'test-table_with_settings_ui.R:348:3', 'test-verbatim_popup_ui.R:33:5', 'test-verbatim_popup_ui.R:92:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-table_with_settings.R:29:7'): table_with_settings_srv: hiding works ── Error in `match.arg(round_type)`: 'arg' must be of length 1 Backtrace: ▆ 1. ├─shiny::testServer(...) at test-table_with_settings.R:25:3 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_silent(output$table_out_modal$html) at test-table_with_settings.R:29:7 29. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 30. │ ├─testthat (local) .capture(...) 31. │ │ ├─withr::with_output_sink(...) 32. │ │ │ └─base::force(code) 33. │ │ ├─base::withCallingHandlers(...) 34. │ │ └─base::withVisible(code) 35. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 36. ├─output$table_out_modal 37. ├─shiny:::`$.shinyoutput`(output, table_out_modal) 38. │ └─.subset2(x, "impl")$getOutput(name) 39. │ └─base::stop(v$err) 40. └─shiny (local) ``(``) ── Error ('test-table_with_settings.R:39:7'): table_with_settings_srv: return html table ── Error in `match.arg(round_type)`: 'arg' must be of length 1 Backtrace: ▆ 1. ├─shiny::testServer(...) at test-table_with_settings.R:35:3 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_s3_class(output$table_out_modal$html, "html") at test-table_with_settings.R:39:7 29. │ └─testthat::quasi_label(enquo(object)) 30. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 31. ├─output$table_out_modal 32. ├─shiny:::`$.shinyoutput`(output, table_out_modal) 33. │ └─.subset2(x, "impl")$getOutput(name) 34. │ └─base::stop(v$err) 35. └─shiny (local) ``(``) ── Error ('test-table_with_settings.R:51:7'): table_with_settings_srv: expand works ── Error in `match.arg(round_type)`: 'arg' must be of length 1 Backtrace: ▆ 1. ├─shiny::testServer(...) at test-table_with_settings.R:46:3 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_silent(output$table_out_modal) at test-table_with_settings.R:51:7 29. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 30. │ ├─testthat (local) .capture(...) 31. │ │ ├─withr::with_output_sink(...) 32. │ │ │ └─base::force(code) 33. │ │ ├─base::withCallingHandlers(...) 34. │ │ └─base::withVisible(code) 35. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 36. ├─output$table_out_modal 37. ├─shiny:::`$.shinyoutput`(output, table_out_modal) 38. │ └─.subset2(x, "impl")$getOutput(name) 39. │ └─base::stop(v$err) 40. └─shiny (local) ``(``) ── Error ('test-table_with_settings.R:65:9'): type_download_srv_table: downloading different output types, custom name ── Error in `match.arg(round_type)`: 'arg' must be of length 1 Backtrace: ▆ 1. ├─shiny::testServer(...) at test-table_with_settings.R:57:3 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_true(file.exists(output$data_download)) at test-table_with_settings.R:65:9 29. │ └─testthat::quasi_label(enquo(object), label) 30. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 31. ├─base::file.exists(output$data_download) 32. ├─output$data_download 33. ├─shiny:::`$.shinyoutput`(output, data_download) 34. │ └─.subset2(x, "impl")$getOutput(name) 35. │ └─private$renderFile(self$ns(name), download) 36. │ └─download$content(file) 37. │ ├─rtables::export_as_txt(...) 38. │ │ └─formatters:::.is_list_of_tables_or_listings(x) 39. │ │ └─methods::is(a_list, "list") 40. │ └─shiny (local) table_reactive() 41. │ └─base::stop(.value) 42. └─shiny (local) ``(``) ── Error ('test-table_with_settings.R:83:9'): type_download_srv_table: downloading different output types, no name ── Error in `match.arg(round_type)`: 'arg' must be of length 1 Backtrace: ▆ 1. ├─shiny::testServer(...) at test-table_with_settings.R:76:3 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_true(file.exists(output$data_download)) at test-table_with_settings.R:83:9 29. │ └─testthat::quasi_label(enquo(object), label) 30. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 31. ├─base::file.exists(output$data_download) 32. ├─output$data_download 33. ├─shiny:::`$.shinyoutput`(output, data_download) 34. │ └─.subset2(x, "impl")$getOutput(name) 35. │ └─private$renderFile(self$ns(name), download) 36. │ └─download$content(file) 37. │ ├─rtables::export_as_txt(...) 38. │ │ └─formatters:::.is_list_of_tables_or_listings(x) 39. │ │ └─methods::is(a_list, "list") 40. │ └─shiny (local) table_reactive() 41. │ └─base::stop(.value) 42. └─shiny (local) ``(``) ── Error ('test-table_with_settings.R:102:9'): type_download_srv_table: downloading different output types, pagination ── Error in `match.arg(round_type)`: 'arg' must be of length 1 Backtrace: ▆ 1. ├─shiny::testServer(...) at test-table_with_settings.R:93:3 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_true(file.exists(output$data_download)) at test-table_with_settings.R:102:9 29. │ └─testthat::quasi_label(enquo(object), label) 30. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 31. ├─base::file.exists(output$data_download) 32. ├─output$data_download 33. ├─shiny:::`$.shinyoutput`(output, data_download) 34. │ └─.subset2(x, "impl")$getOutput(name) 35. │ └─private$renderFile(self$ns(name), download) 36. │ └─download$content(file) 37. │ ├─rtables::export_as_txt(...) 38. │ │ └─formatters:::.is_list_of_tables_or_listings(x) 39. │ │ └─methods::is(a_list, "list") 40. │ └─shiny (local) table_reactive() 41. │ └─base::stop(.value) 42. └─shiny (local) ``(``) ── Error ('test-table_with_settings.R:121:9'): type_download_srv_table: pagination, lpp to small ── Error in `match.arg(round_type)`: 'arg' must be of length 1 Backtrace: ▆ 1. ├─shiny::testServer(...) at test-table_with_settings.R:113:3 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_error(output$data_download, "Lines of repeated context") at test-table_with_settings.R:121:9 29. │ └─testthat:::expect_condition_matching_(...) 30. │ └─testthat:::quasi_capture(...) 31. │ ├─testthat (local) .capture(...) 32. │ │ └─base::withCallingHandlers(...) 33. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 34. ├─output$data_download 35. ├─shiny:::`$.shinyoutput`(output, data_download) 36. │ └─.subset2(x, "impl")$getOutput(name) 37. │ └─private$renderFile(self$ns(name), download) 38. │ └─download$content(file) 39. │ ├─rtables::export_as_txt(...) 40. │ │ └─formatters:::.is_list_of_tables_or_listings(x) 41. │ │ └─methods::is(a_list, "list") 42. │ └─shiny (local) table_reactive() 43. │ └─base::stop(.value) 44. └─shiny (local) ``(``) ── Error ('test-table_with_settings.R:135:7'): type_download_srv_table: content of the table, csv ── Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "'arg' must be of length 1", call = match.arg(round_type)), class = c("simpleError", "error", "condition")))`: error in evaluating the argument 'obj' in selecting a method for function 'matrix_form': 'arg' must be of length 1 Backtrace: ▆ 1. ├─shiny::testServer(...) at test-table_with_settings.R:128:3 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. ├─utils::read.csv(output$data_download) at test-table_with_settings.R:135:7 29. │ └─utils::read.table(...) 30. ├─output$data_download 31. ├─shiny:::`$.shinyoutput`(output, data_download) 32. │ └─.subset2(x, "impl")$getOutput(name) 33. │ └─private$renderFile(self$ns(name), download) 34. │ └─download$content(file) 35. │ ├─rtables::matrix_form(table_reactive()) 36. │ └─shiny (local) table_reactive() 37. │ └─base::stop(.value) 38. ├─base (local) ``(``) 39. └─base::.handleSimpleError(...) 40. └─shiny (local) h(simpleError(msg, call)) ── Error ('test-table_with_settings.R:158:7'): type_download_srv_table: content of the table, txt ── Error in `match.arg(round_type)`: 'arg' must be of length 1 Backtrace: ▆ 1. ├─shiny::testServer(...) at test-table_with_settings.R:151:3 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. ├─utils::read.delim(output$data_download, sep = "") at test-table_with_settings.R:158:7 29. │ └─utils::read.table(...) 30. ├─output$data_download 31. ├─shiny:::`$.shinyoutput`(output, data_download) 32. │ └─.subset2(x, "impl")$getOutput(name) 33. │ └─private$renderFile(self$ns(name), download) 34. │ └─download$content(file) 35. │ ├─rtables::export_as_txt(...) 36. │ │ └─formatters:::.is_list_of_tables_or_listings(x) 37. │ │ └─methods::is(a_list, "list") 38. │ └─shiny (local) table_reactive() 39. │ └─base::stop(.value) 40. └─shiny (local) ``(``) [ FAIL 9 | WARN 0 | SKIP 30 | PASS 225 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [8s] OK * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [6s] OK * DONE Status: 1 ERROR