- using R Under development (unstable) (2026-03-30 r89743)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)
GNU Fortran (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-03-30 17:22:04 UTC
- using option ‘--no-stop-on-test-error’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘shinyscholar’ can be installed ... [9s/13s] OK
See the install log for details.
- 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [12s/16s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... [25s/31s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [82s/111s] ERROR
Running ‘testthat.R’ [82s/111s]
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 (10): 'test-helpers.R:7:5', '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'
• is_fedora() is TRUE (17): 'test-downloads.R:5:5', 'test-downloads.R:35:5',
'test-downloads.R:51:5', 'test-downloads.R:70:5', 'test-metadata.R:97:5',
'test-plot_auto.R:6:5', 'test-plot_hist.R:19:5', 'test-plot_scatter.R:18:5',
'test-plot_semi.R:5:5', 'test-save_load.R:4:5', 'test-save_load.R:14:5',
'test-save_load.R:27:5', 'test-save_load.R:39:5', 'test-save_load.R:55:5',
'test-select_user.R:14:5', 'test-select_user.R:25:5',
'test-select_user.R:36: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 ... [7s/13s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR