Running ‘testthat.R’ [497s/431s]
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")
  Running /data/gannet/ripley/R/R-clang/bin/R CMD INSTALL \
    /tmp/RtmpsDlHaR/working_dir/RtmpPRpQQQ/file12b376504534bc/shinyscholara \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library ‘/tmp/RtmpsDlHaR/working_dir/RtmpPRpQQQ/temp_libpath12b37610c58c53’
  * installing *source* package ‘shinyscholara’ ...
  ** this is package ‘shinyscholara’ version ‘0.0.1’
  ** using staged installation
  ** R
  ** inst
  ** tests
  ** byte-compile and prepare package for lazy loading
  ** help
  *** installing help indices
  ** building package indices
  ** testing if installed package can be loaded from temporary location
  ** testing if installed package can be loaded from final location
  ** testing if installed package keeps a record of temporary installation path
  * DONE (shinyscholara)
  Running /data/gannet/ripley/R/R-clang/bin/R CMD INSTALL \
    /tmp/RtmpsDlHaR/working_dir/RtmpPRpQQQ/file12b3767928d56d/shinyscholarb \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library ‘/tmp/RtmpsDlHaR/working_dir/RtmpPRpQQQ/temp_libpath12b376259f9d95’
  * installing *source* package ‘shinyscholarb’ ...
  ** this is package ‘shinyscholarb’ version ‘0.0.1’
  ** using staged installation
  ** R
  ** inst
  ** tests
  ** byte-compile and prepare package for lazy loading
  ** help
  *** installing help indices
  ** building package indices
  ** testing if installed package can be loaded from temporary location
  ** testing if installed package can be loaded from final location
  ** testing if installed package keeps a record of temporary installation path
  * DONE (shinyscholarb)
  Running /data/gannet/ripley/R/R-clang/bin/R CMD INSTALL \
    /tmp/RtmpsDlHaR/working_dir/RtmpPRpQQQ/file12b3763dc75817/shinyscholarc \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library ‘/tmp/RtmpsDlHaR/working_dir/RtmpPRpQQQ/temp_libpath12b3766a853c4b’
  * installing *source* package ‘shinyscholarc’ ...
  ** this is package ‘shinyscholarc’ version ‘0.0.1’
  ** using staged installation
  ** R
  ** inst
  ** tests
  ** byte-compile and prepare package for lazy loading
  ** help
  *** installing help indices
  ** building package indices
  ** testing if installed package can be loaded from temporary location
  ** testing if installed package can be loaded from final location
  ** testing if installed package keeps a record of temporary installation path
  * DONE (shinyscholarc)
  Running /data/gannet/ripley/R/R-clang/bin/R CMD INSTALL \
    /tmp/RtmpsDlHaR/working_dir/RtmpPRpQQQ/file12b3761c45ee1b/shinyscholard \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library ‘/tmp/RtmpsDlHaR/RLIBS_126fc5278e3c3b’
  * installing *source* package ‘shinyscholard’ ...
  ** this is package ‘shinyscholard’ version ‘0.0.1’
  ** using staged installation
  ** R
  ** inst
  ** tests
  ** byte-compile and prepare package for lazy loading
  ** help
  *** installing help indices
  ** building package indices
  ** testing if installed package can be loaded from temporary location
  ** testing if installed package can be loaded from final location
  ** testing if installed package keeps a record of temporary installation path
  * DONE (shinyscholard)
  Running /data/gannet/ripley/R/R-clang/bin/R CMD INSTALL \
    /tmp/RtmpsDlHaR/working_dir/RtmpPRpQQQ/file12b3762cf396d3/shinyscholara \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library ‘/tmp/RtmpsDlHaR/working_dir/RtmpPRpQQQ/temp_libpath12b3764b1d637e’
  * installing *source* package ‘shinyscholara’ ...
  ** this is package ‘shinyscholara’ version ‘0.0.1’
  ** using staged installation
  ** R
  ** inst
  ** tests
  ** byte-compile and prepare package for lazy loading
  ** help
  *** installing help indices
  ** building package indices
  ** testing if installed package can be loaded from temporary location
  ** testing if installed package can be loaded from final location
  ** testing if installed package keeps a record of temporary installation path
  * DONE (shinyscholara)
  Error in app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,  : 
    Cannot find shiny port number. Error lines found:
  Loading required package: shiny
  Running application in test mode.
  
  
  ℹ You can inspect the failed AppDriver object via `rlang::last_error()$app`
  ℹ AppDriver logs:
  {shinytest2} R info   04:47:08.10 Start AppDriver initialization
  {shinytest2} R info   04:47:08.11 Starting Shiny app
  {shinytest2} R info   04:47:23.24 Error while initializing AppDriver:
                                    Cannot find shiny port number. Error lines found:
                                    Loading required package: shiny
                                    Running application in test mode.
  {shiny}      R stderr ----------- Loading required package: shiny
  {shiny}      R stderr ----------- Running application in test mode.
  
  
  Caused by error in `app_start_shiny()`:
  ! Cannot find shiny port number. Error lines found:
  Loading required package: shiny
  Running application in test mode.
  [1] "plot_hist_test setup failed - retrying"
  [ FAIL 3 | WARN 0 | SKIP 9 | PASS 181 ]
  
  ══ 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-downloads.R:6:5'): {shinytest2} recording: e2e_markdown ────────
  Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, 
      timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args, 
      screenshot_args = screenshot_args, check_names = check_names, 
      name = name, variant = variant, view = view, height = height, 
      width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args, 
      render_args = render_args, options = options)`: Cannot find shiny port number. Error lines found:
  Loading required package: shiny
  Running application in test mode.
  
  
  ℹ You can inspect the failed AppDriver object via `rlang::last_error()$app`
  ℹ AppDriver logs:
  {shinytest2} R info   04:45:50.37 Start AppDriver initialization
  {shinytest2} R info   04:45:50.37 Starting Shiny app
  {shinytest2} R info   04:46:05.54 Error while initializing AppDriver:
                                    Cannot find shiny port number. Error lines found:
                                    Loading required package: shiny
                                    Running application in test mode.
  {shiny}      R stderr ----------- Loading required package: shiny
  {shiny}      R stderr ----------- Running application in test mode.
  
  
  Caused by error in `app_start_shiny()`:
  ! Cannot find shiny port number. Error lines found:
  Loading required package: shiny
  Running application in test mode.
  ── Error ('test-downloads.R:36:5'): {shinytest2} recording: e2e_table_download ──
  Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, 
      timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args, 
      screenshot_args = screenshot_args, check_names = check_names, 
      name = name, variant = variant, view = view, height = height, 
      width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args, 
      render_args = render_args, options = options)`: Cannot find shiny port number. Error lines found:
  Loading required package: shiny
  Running application in test mode.
  
  
  ℹ You can inspect the failed AppDriver object via `rlang::last_error()$app`
  ℹ AppDriver logs:
  {shinytest2} R info   04:46:06.43 Start AppDriver initialization
  {shinytest2} R info   04:46:06.43 Starting Shiny app
  {shinytest2} R info   04:46:21.60 Error while initializing AppDriver:
                                    Cannot find shiny port number. Error lines found:
                                    Loading required package: shiny
                                    Running application in test mode.
  {shiny}      R stderr ----------- Loading required package: shiny
  {shiny}      R stderr ----------- Running application in test mode.
  
  
  Caused by error in `app_start_shiny()`:
  ! Cannot find shiny port number. Error lines found:
  Loading required package: shiny
  Running application in test mode.
  ── Error ('test-downloads.R:50:5'): {shinytest2} recording: e2e_plot_downloads ──
  Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout, 
      timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args, 
      screenshot_args = screenshot_args, check_names = check_names, 
      name = name, variant = variant, view = view, height = height, 
      width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args, 
      render_args = render_args, options = options)`: Cannot find shiny port number. Error lines found:
  Loading required package: shiny
  Running application in test mode.
  
  
  ℹ You can inspect the failed AppDriver object via `rlang::last_error()$app`
  ℹ AppDriver logs:
  {shinytest2} R info   04:46:22.31 Start AppDriver initialization
  {shinytest2} R info   04:46:22.32 Starting Shiny app
  {shinytest2} R info   04:46:37.46 Error while initializing AppDriver:
                                    Cannot find shiny port number. Error lines found:
                                    Loading required package: shiny
                                    Running application in test mode.
  {shiny}      R stderr ----------- Loading required package: shiny
  {shiny}      R stderr ----------- Running application in test mode.
  
  
  Caused by error in `app_start_shiny()`:
  ! Cannot find shiny port number. Error lines found:
  Loading required package: shiny
  Running application in test mode.
  
  [ FAIL 3 | WARN 0 | SKIP 9 | PASS 181 ]
  Error: Test failures
  Execution halted