Running 'testthat.R' [97s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TEST" = "")
  > library(testthat)
  > library(shinyscholar)
  > library(shinytest2)
  > 
  > test_check("shinyscholar")
  Saving _problems/test-create_template-93.R
  [ FAIL 1 | WARN 1 | SKIP 30 | PASS 151 ]
  
  ══ Skipped tests (30) ══════════════════════════════════════════════════════════
  • On CRAN (30): 'test-create_template.R:163:7', 'test-create_template.R:210:7',
    'test-create_template.R:245:7', 'test-create_template.R:280:7',
    'test-downloads.R:6:5', 'test-downloads.R:37:5', 'test-downloads.R:52:5',
    'test-downloads.R:71:5', 'test-helpers.R:7:5', 'test-metadata.R:98:5',
    'test-plot_auto.R:7:5', 'test-plot_hist.R:20:5', 'test-plot_scatter.R:19:5',
    'test-plot_semi.R:6:5', 'test-save_and_load.R:121:5', 'test-save_load.R:6:5',
    'test-save_load.R:19:5', 'test-save_load.R:31:5', 'test-save_load.R:47:5',
    'test-select_async.R:4:5', 'test-select_async.R:33:5',
    'test-select_async.R:44:5', 'test-select_async.R:56:5',
    'test-select_query.R:4:5', 'test-select_query.R:35:5',
    'test-select_query.R:47:5', 'test-select_query.R:59:5',
    'test-select_user.R:15:5', 'test-select_user.R:26:5',
    'test-select_user.R:37:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-create_template.R:90:3'): Check create template returns expected errors ──
  `create_template(...)` threw an error with unexpected message.
  Expected match: "You have included a map but none of your modules use it"
  Actual message: "cannot read from connection"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-create_template.R:90:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─shinyscholar::create_template(...)
    7.   ├─name %in% tools::CRAN_package_db()[, c("Package")]
    8.   └─tools::CRAN_package_db()
    9.     ├─base::as.data.frame(...)
   10.     └─tools:::read_CRAN_object(CRAN_baseurl_for_web_area(), "web/packages/packages.rds")
   11.       └─base::readRDS(con)
  
  [ FAIL 1 | WARN 1 | SKIP 30 | PASS 151 ]
  Error:
  ! Test failures.
  Execution halted