- using R version 4.4.2 (2024-10-31 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.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.2.2'
- 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 ... [4s] 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 ... [14s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [28s] ERROR
Running 'testthat.R' [28s]
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")
Error in initialize(...) : Invalid path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error in initialize(...) : Invalid path to Chrome
Error in initialize(...) : Invalid path to Chrome
[ FAIL 3 | WARN 0 | SKIP 19 | PASS 128 ]
══ Skipped tests (19) ══════════════════════════════════════════════════════════
• 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'
• `shinytest2::AppDriver` can not be initialized as {chromote} can not be
started (10): 'test-downloads.R:3:5', 'test-downloads.R:33:5',
'test-downloads.R:47:5', 'test-plot_hist.R:15:5', 'test-plot_scatter.R:18:5',
'test-save_load.R:3:5', 'test-save_load.R:9:5', 'test-save_load.R:18:5',
'test-save_load.R:26:5', 'test-select_user.R:13:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-create_template.R:137:3'): Check create template function works as expected ──
Error: A package on CRAN already uses that name
Backtrace:
▆
1. ├─shinyscholar::create_template(...) at test-create_template.R:137:3
2. │ └─logger %>% ...
3. └─shinyscholar::writeLog(., type = "error", "A package on CRAN already uses that name")
── Error ('test-create_template.R:174:3'): Check create template function works with false settings ──
Error: A package on CRAN already uses that name
Backtrace:
▆
1. ├─shinyscholar::create_template(...) at test-create_template.R:174:3
2. │ └─logger %>% ...
3. └─shinyscholar::writeLog(., type = "error", "A package on CRAN already uses that name")
── Error ('test-metadata.R:112:5'): Check that lines added by metadata are functional ──
Error: A package on CRAN already uses that name
Backtrace:
▆
1. ├─shinyscholar::create_template(...) at test-metadata.R:112:5
2. │ └─logger %>% ...
3. └─shinyscholar::writeLog(., type = "error", "A package on CRAN already uses that name")
[ FAIL 3 | WARN 0 | SKIP 19 | PASS 128 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [4s] OK
- DONE
Status: 1 ERROR