- using R version 4.5.3 (2026-03-11 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'shinyscholar/DESCRIPTION' ... OK
- this is package 'shinyscholar' version '0.4.4'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'shinyscholar' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [5s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [16s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [51s] ERROR
Running 'testthat.R' [51s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> Sys.setenv("R_TEST" = "")
> library(testthat)
> library(shinyscholar)
Loading required package: bslib
Attaching package: 'bslib'
The following object is masked from 'package:utils':
page
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")
── pak::local_install_deps() ───────────────────────────────────────────────────
Saving _problems/test-create_template-156.R
── pak::local_install_deps() ───────────────────────────────────────────────────
Saving _problems/test-create_template-198.R
── pak::local_install_deps() ───────────────────────────────────────────────────
Saving _problems/test-create_template-228.R
── pak::local_install_deps() ───────────────────────────────────────────────────
Saving _problems/test-create_template-258.R
[ FAIL 4 | WARN 1 | SKIP 27 | PASS 152 ]
══ Skipped tests (27) ══════════════════════════════════════════════════════════
• On CRAN (27): '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:5:5',
'test-save_load.R:15:5', 'test-save_load.R:28:5', 'test-save_load.R:40:5',
'test-save_load.R:56: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:156:7'): Check create template function works as expected ──
<callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
Error: ! error in pak subprocess
Caused by error in `get_user_cache_dir()`:
! R_USER_CACHE_DIR env var not set during package check, see https://github.com/r-lib/pkgcache#README
Backtrace:
▆
1. ├─withr::with_temp_libpaths(...) at test-create_template.R:132:3
2. │ └─base::force(code)
3. └─devtools::install(...) at test-create_template.R:156:7
4. └─(function() {...
5. └─pak::local_install_deps(...)
6. └─pak:::remote(...)
7. └─err$throw(res$error)
── Error ('test-create_template.R:198:7'): Check create template function works with false settings ──
<callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
Error: ! error in pak subprocess
Caused by error in `get_user_cache_dir()`:
! R_USER_CACHE_DIR env var not set during package check, see https://github.com/r-lib/pkgcache#README
Backtrace:
▆
1. ├─withr::with_temp_libpaths(...) at test-create_template.R:167:3
2. │ └─base::force(code)
3. └─devtools::install(...) at test-create_template.R:198:7
4. └─(function() {...
5. └─pak::local_install_deps(...)
6. └─pak:::remote(...)
7. └─err$throw(res$error)
── Error ('test-create_template.R:228:7'): Check async, no 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 `get_user_cache_dir()`:
! R_USER_CACHE_DIR env var not set during package check, see https://github.com/r-lib/pkgcache#README
Backtrace:
▆
1. ├─withr::with_temp_libpaths(...) at test-create_template.R:210:5
2. │ └─base::force(code)
3. └─devtools::install(...) at test-create_template.R:228:7
4. └─(function() {...
5. └─pak::local_install_deps(...)
6. └─pak:::remote(...)
7. └─err$throw(res$error)
── Error ('test-create_template.R:258: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 `get_user_cache_dir()`:
! R_USER_CACHE_DIR env var not set during package check, see https://github.com/r-lib/pkgcache#README
Backtrace:
▆
1. ├─withr::with_temp_libpaths(...) at test-create_template.R:240:5
2. │ └─base::force(code)
3. └─devtools::install(...) at test-create_template.R:258:7
4. └─(function() {...
5. └─pak::local_install_deps(...)
6. └─pak:::remote(...)
7. └─err$throw(res$error)
[ FAIL 4 | WARN 1 | SKIP 27 | PASS 152 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [4s] OK
- DONE
Status: 1 ERROR