Running ‘testthat.R’ [239s/301s]
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")
  {shinytest2} query failed (500)----------------------
  URL: http://127.0.0.1:7846/session/31c5c196f0f6865cb3e99f4d9eb039f8/download/rep_markdown-dlRMD?w=
  <html>
  
  <head lang = "en">
    <title>An error has occurred</title>
  </head>
  
  <body>
  
  <h1>An error has occurred!</h1>
  <p>pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).</p>
  
  </body>
  </html>
   
  ----------------------------------------
  Error in app_download(self, private, output = output, name = name, save_dir = save_dir,  : 
    Download from '#core_save-save_session' failed
  [1] "save_scat_test setup failed - retrying"
  Error in app_download(self, private, output = output, name = name, save_dir = save_dir,  : 
    Download from '#core_save-save_session' failed
  [1] "save_scat_test setup failed - retrying"
  [ FAIL 4 | WARN 0 | SKIP 9 | PASS 140 ]
  
  ══ Skipped tests (9) ═══════════════════════════════════════════════════════════
  • 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'
  
  ══ 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-downloads.R:14:5'): {shinytest2} recording: e2e_markdown ───────
  Error in `app_httr_get(self, private, full_url)`: Unable request data from server
  Backtrace:
      ▆
   1. └─app$get_download("rep_markdown-dlRMD") at test-downloads.R:14:5
   2.   └─shinytest2:::app_get_download(...)
   3.     └─shinytest2:::app_download(...)
   4.       └─shinytest2:::app_httr_get(self, private, full_url)
   5.         └─shinytest2:::app_abort(self, private, "Unable request data from server")
   6.           └─rlang::abort(..., app = self, call = call)
  ── 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 4 | WARN 0 | SKIP 9 | PASS 140 ]
  Error: Test failures
  Execution halted