Running ‘testthat.R’ [13m/13m]
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/Rtmp7jFYxQ/working_dir/RtmpULKITd/file38af261506312c/shinyscholara \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library ‘/tmp/Rtmp7jFYxQ/working_dir/RtmpULKITd/temp_libpath38af265571e74d’
  * 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/Rtmp7jFYxQ/working_dir/RtmpULKITd/file38af2677a3fb2f/shinyscholarb \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library ‘/tmp/Rtmp7jFYxQ/working_dir/RtmpULKITd/temp_libpath38af2677005e4a’
  * 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/Rtmp7jFYxQ/working_dir/RtmpULKITd/file38af263bbe63aa/shinyscholarc \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library ‘/tmp/Rtmp7jFYxQ/working_dir/RtmpULKITd/temp_libpath38af262925a696’
  * 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/Rtmp7jFYxQ/working_dir/RtmpULKITd/file38af265e646cb3/shinyscholard \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library ‘/tmp/Rtmp7jFYxQ/RLIBS_3857a07c25e532’
  * 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/Rtmp7jFYxQ/working_dir/RtmpULKITd/file38af267052f46e/shinyscholara \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library ‘/tmp/Rtmp7jFYxQ/working_dir/RtmpULKITd/temp_libpath38af26371623ae’
  * 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   23:14:10.09 Start AppDriver initialization
  {shinytest2} R info   23:14:10.11 Starting Shiny app
  {shinytest2} R info   23:14:25.48 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"
  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   23:14:26.77 Start AppDriver initialization
  {shinytest2} R info   23:14:26.78 Starting Shiny app
  {shinytest2} R info   23:14:42.06 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"
  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   23:14:43.78 Start AppDriver initialization
  {shinytest2} R info   23:14:43.79 Starting Shiny app
  {shinytest2} R info   23:14:59.13 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"
  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   23:15:00.40 Start AppDriver initialization
  {shinytest2} R info   23:15:00.41 Starting Shiny app
  {shinytest2} R info   23:15:15.64 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"
  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   23:15:16.52 Start AppDriver initialization
  {shinytest2} R info   23:15:16.52 Starting Shiny app
  {shinytest2} R info   23:15:31.81 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"
  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   23:15:32.66 Start AppDriver initialization
  {shinytest2} R info   23:15:32.66 Starting Shiny app
  {shinytest2} R info   23:15:47.88 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"
  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   23:15:48.63 Start AppDriver initialization
  {shinytest2} R info   23:15:48.63 Starting Shiny app
  {shinytest2} R info   23:16:03.82 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.
  {shiny}      R stderr ----------- 
  {shiny}      R stderr ----------- Listening on http://127.0.0.1:6238
  
  
  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"
  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   23:16:04.64 Start AppDriver initialization
  {shinytest2} R info   23:16:04.64 Starting Shiny app
  {shinytest2} R info   23:16:19.82 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"
  Error in app_download(self, private, output = output, name = name, save_dir = save_dir,  : 
    Download from '#core_save-save_session' failed
  [1] "empty_save_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] "empty_save_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] "empty_save_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] "empty_save_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] "empty_save_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] "empty_save_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   23:12:45.21 Start AppDriver initialization
  {shinytest2} R info   23:12:45.22 Starting Shiny app
  {shinytest2} R info   23:13:00.49 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   23:13:01.52 Start AppDriver initialization
  {shinytest2} R info   23:13:01.53 Starting Shiny app
  {shinytest2} R info   23:13:16.78 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   23:13:17.75 Start AppDriver initialization
  {shinytest2} R info   23:13:17.76 Starting Shiny app
  {shinytest2} R info   23:13:32.96 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