Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > pkg_name <- "teal.widgets"
  > library(pkg_name, character.only = TRUE)
  > testthat::test_check(pkg_name)
  Error in initialize(...) : Invalid path to Chrome
  Error in pag_indices_inner(pagdf = mf_rinfo(mpf), rlpp = calc_rlpp(pg_size_spec,  : 
    Lines of repeated context (plus header materials) larger than specified lines per page
  Error in initialize(...) : Invalid path to Chrome
  [ FAIL 3 | WARN 0 | SKIP 2 | PASS 197 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • `shinytest2::AppDriver` can not be initialized as {chromote} can not be
    started (2): 'test-plot_with_settings_ui.R:10:3',
    'test-table_with_settings_ui.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-table_with_settings.R:65:9'): type_download_srv_table: downloading different output types, custom name ──
  Error in `rtables::export_as_pdf(tt = table_reactive(), file = file, paginate = input$pagination_switch, 
      lpp = if (input$pagination_switch) as.numeric(input$lpp))`: unused argument (tt = table_reactive())
  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. │ │ │   └─env$runWith(self, func)
   13. │ │ │     └─shiny (local) contextFunc()
   14. │ │ │       └─shiny::..stacktraceon..(expr)
   15. │ │ ├─shiny::withReactiveDomain(...)
   16. │ │ │ └─promises::with_promise_domain(...)
   17. │ │ │   └─domain$wrapSync(expr)
   18. │ │ │     └─base::force(expr)
   19. │ │ └─withr::with_options(...)
   20. │ │   └─base::force(code)
   21. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
   22. ├─testthat::expect_true(file.exists(output$data_download)) at test-table_with_settings.R:65:9
   23. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   24. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   25. ├─base::file.exists(output$data_download)
   26. ├─output$data_download
   27. └─shiny:::`$.shinyoutput`(output, data_download)
   28.   └─.subset2(x, "impl")$getOutput(name)
   29.     └─private$renderFile(self$ns(name), download)
   30.       └─download$content(file)
  ── Error ('test-table_with_settings.R:83:9'): type_download_srv_table: downloading different output types, no name ──
  Error in `rtables::export_as_pdf(tt = table_reactive(), file = file, paginate = input$pagination_switch, 
      lpp = if (input$pagination_switch) as.numeric(input$lpp))`: unused argument (tt = table_reactive())
  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. │ │ │   └─env$runWith(self, func)
   13. │ │ │     └─shiny (local) contextFunc()
   14. │ │ │       └─shiny::..stacktraceon..(expr)
   15. │ │ ├─shiny::withReactiveDomain(...)
   16. │ │ │ └─promises::with_promise_domain(...)
   17. │ │ │   └─domain$wrapSync(expr)
   18. │ │ │     └─base::force(expr)
   19. │ │ └─withr::with_options(...)
   20. │ │   └─base::force(code)
   21. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
   22. ├─testthat::expect_true(file.exists(output$data_download)) at test-table_with_settings.R:83:9
   23. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   24. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   25. ├─base::file.exists(output$data_download)
   26. ├─output$data_download
   27. └─shiny:::`$.shinyoutput`(output, data_download)
   28.   └─.subset2(x, "impl")$getOutput(name)
   29.     └─private$renderFile(self$ns(name), download)
   30.       └─download$content(file)
  ── Error ('test-table_with_settings.R:102:9'): type_download_srv_table: downloading different output types, pagination ──
  Error in `rtables::export_as_pdf(tt = table_reactive(), file = file, paginate = input$pagination_switch, 
      lpp = if (input$pagination_switch) as.numeric(input$lpp))`: unused argument (tt = table_reactive())
  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. │ │ │   └─env$runWith(self, func)
   13. │ │ │     └─shiny (local) contextFunc()
   14. │ │ │       └─shiny::..stacktraceon..(expr)
   15. │ │ ├─shiny::withReactiveDomain(...)
   16. │ │ │ └─promises::with_promise_domain(...)
   17. │ │ │   └─domain$wrapSync(expr)
   18. │ │ │     └─base::force(expr)
   19. │ │ └─withr::with_options(...)
   20. │ │   └─base::force(code)
   21. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
   22. ├─testthat::expect_true(file.exists(output$data_download)) at test-table_with_settings.R:102:9
   23. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   24. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   25. ├─base::file.exists(output$data_download)
   26. ├─output$data_download
   27. └─shiny:::`$.shinyoutput`(output, data_download)
   28.   └─.subset2(x, "impl")$getOutput(name)
   29.     └─private$renderFile(self$ns(name), download)
   30.       └─download$content(file)
  
  [ FAIL 3 | WARN 0 | SKIP 2 | PASS 197 ]
  Deleting unused snapshots:
  • app_pws_ui/plot_with_settings_ui/pws-download_menu.png
  • app_pws_ui/plot_with_settings_ui/pws-hidden.png
  • app_pws_ui/plot_with_settings_ui/pws-resize_menu.png
  • app_pws_ui/plot_with_settings_ui/pws-visible.png
  • app_tws_ui/table_with_settings_ui/tws-final_values.json
  Error: Test failures
  Execution halted