Running ‘testthat.R’ [49s/58s]
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-161.R
  Saving _problems/test-create_template-192.R
  Saving _problems/test-create_template-278.R
  [ FAIL 3 | WARN 10 | SKIP 27 | PASS 141 ]
  
  ══ Skipped tests (27) ══════════════════════════════════════════════════════════
  • On CRAN (27): 'test-create_template.R:245: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 ════════════════════════════════════════════════════════════════
  ── Error ('test-create_template.R:161:7'): Check create template function works as expected ──
  <objectNotFoundError/error/condition>
  Error in `pkg_env$.onLoad(dirname(pkg_dir), package)`: object 'clic_start_thread' not found
  Backtrace:
       ▆
    1. ├─withr::with_temp_libpaths(...) at test-create_template.R:137:3
    2. │ └─base::force(code)
    3. └─pak::local_install(file.path(directory, name), dependencies = FALSE) at test-create_template.R:161:7
    4.   └─pak:::remote(...)
    5.     └─pak:::restart_remote_if_needed()
    6.       └─pak:::new_remote_session()
    7.         └─pak:::load_private_packages()
    8.           └─pak:::load_private_cli()
    9.             └─pak:::load_private_package("cli")
   10.               ├─base::withCallingHandlers(...)
   11.               └─pkg_env$.onLoad(dirname(pkg_dir), package)
  ── Error ('test-create_template.R:189:5'): Check create template function works with false settings ──
  Error in `file(con, "w")`: cannot open the connection
  Backtrace:
      ▆
   1. ├─withr::with_temp_libpaths(...) at test-create_template.R:177:3
   2. │ └─base::force(code)
   3. └─shinyscholar::create_template(...) at test-create_template.R:189:5
   4.   └─base::writeLines(...)
   5.     └─base::file(con, "w")
  ── Error ('test-create_template.R:278:7'): Check async, with map runs correctly ──
  <callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
  Error: ! error in pak subprocess
  Caused by error in `stop_task_build(state, worker)`:
  ! Failed to build source package shinyscholard.
  Full installation output:
  * installing *source* package ‘shinyscholard’ ...
  ** this is package ‘shinyscholard’ version ‘0.0.1’
  staged installation is only possible with locking
  ** using non-staged installation
  ** R
  ** inst
  ** byte-compile and prepare package for lazy loading
  ** help
  *** installing help indices
  ** building package indices
  ** testing if installed package can be loaded
  Warning in file.symlink(from, to) :
    cannot symlink '/tmp/RtmpbdEqcS/RLIBS_f68687bbca41d/Rcpp' to '/tmp/Rtmp3deToz/RLIBS_1040d165c21a22/Rcpp', reason 'No space left on device'
  Error in flink(where, tmplib) : 
    cannot link from /tmp/RtmpbdEqcS/RLIBS_f68687bbca41d/Rcpp
  * removing ‘/tmp/RtmpDYyJsG/pkg-lib101b10119fa975/shinyscholard’
  Backtrace:
      ▆
   1. ├─withr::with_temp_libpaths(...) at test-create_template.R:260:5
   2. │ └─base::force(code)
   3. └─pak::local_install(file.path(directory, name), dependencies = FALSE) at test-create_template.R:278:7
   4.   └─pak:::remote(...)
   5.     └─err$throw(res$error)
  
  [ FAIL 3 | WARN 10 | SKIP 27 | PASS 141 ]
  Error:
  ! Test failures.
  Execution halted