Running 'testthat.R' [28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TEST" = "")
  > library(testthat)
  > library(shinyscholar)
  Loading required package: gargoyle
  
  Attaching package: 'gargoyle'
  
  The following object is masked from 'package:testthat':
  
      watch
  
  Loading required package: leaflet
  Loading required package: shiny
  > library(shinytest2)
  > 
  > test_check("shinyscholar")
  Error in initialize(...) : Invalid path to Chrome
  Error in initialize(...) : Invalid path to Chrome
  Error in initialize(...) : Invalid path to Chrome
  Error in initialize(...) : Invalid path to Chrome
  Error in initialize(...) : Invalid path to Chrome
  Error in initialize(...) : Invalid path to Chrome
  Error in initialize(...) : Invalid path to Chrome
  Error in initialize(...) : Invalid path to Chrome
  Error in initialize(...) : Invalid path to Chrome
  Error in initialize(...) : Invalid path to Chrome
  [ FAIL 3 | WARN 0 | SKIP 19 | PASS 128 ]
  
  ══ Skipped tests (19) ══════════════════════════════════════════════════════════
  • On CRAN (9): 'test-save_and_load.R:121: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'
  • `shinytest2::AppDriver` can not be initialized as {chromote} can not be
    started (10): 'test-downloads.R:3:5', 'test-downloads.R:33:5',
    'test-downloads.R:47:5', 'test-plot_hist.R:15:5', 'test-plot_scatter.R:18:5',
    'test-save_load.R:3:5', 'test-save_load.R:9:5', 'test-save_load.R:18:5',
    'test-save_load.R:26:5', 'test-select_user.R:13:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-create_template.R:137:3'): Check create template function works as expected ──
  Error: A package on CRAN already uses that name
  Backtrace:
      ▆
   1. ├─shinyscholar::create_template(...) at test-create_template.R:137:3
   2. │ └─logger %>% ...
   3. └─shinyscholar::writeLog(., type = "error", "A package on CRAN already uses that name")
  ── Error ('test-create_template.R:174:3'): Check create template function works with false settings ──
  Error: A package on CRAN already uses that name
  Backtrace:
      ▆
   1. ├─shinyscholar::create_template(...) at test-create_template.R:174:3
   2. │ └─logger %>% ...
   3. └─shinyscholar::writeLog(., type = "error", "A package on CRAN already uses that name")
  ── Error ('test-metadata.R:112:5'): Check that lines added by metadata are functional ──
  Error: A package on CRAN already uses that name
  Backtrace:
      ▆
   1. ├─shinyscholar::create_template(...) at test-metadata.R:112:5
   2. │ └─logger %>% ...
   3. └─shinyscholar::writeLog(., type = "error", "A package on CRAN already uses that name")
  
  [ FAIL 3 | WARN 0 | SKIP 19 | PASS 128 ]
  Error: Test failures
  Execution halted