* using log directory 'd:/Rcompile/CRANpkg/local/4.5/shinyscholar.Rcheck'
* using R Under development (unstable) (2025-02-14 r87718 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.5'
* 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 'https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64/shinyscholar-00install.html' 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 ... [61s] ERROR
Running examples in 'shinyscholar-Ex.R' failed
The error most likely occurred in:

> ### Name: create_template
> ### Title: Create a skeleton application containing empty modules
> ### Aliases: create_template
> 
> ### ** Examples
> 
> td <- tempfile()
> dir.create(td, recursive = TRUE)
> 
> modules <- data.frame(
+ "component" = c("data", "data", "plot", "plot"),
+ "long_component" = c("Load data", "Load data", "Plot data", "Plot data"),
+ "module" = c("user", "database", "histogram", "scatter"),
+ "long_module" = c("Upload your own data", "Query a database to obtain data",
+ "Plot the data as a histogram", "Plot the data as a scatterplot"),
+ "map" = c(TRUE, TRUE, FALSE, FALSE),
+ "result" = c(FALSE, FALSE, TRUE, TRUE),
+ "rmd" = c(TRUE, TRUE, TRUE, TRUE),
+ "save" = c(TRUE, TRUE, TRUE, TRUE),
+ "async" = c(TRUE, FALSE, FALSE, FALSE))
> 
> common_objects = c("raster", "histogram", "scatter")
> 
> create_template(path = td, name = "demo",
+ common_objects = common_objects, modules = modules,
+ author = "Simon E. H. Smart", include_map = TRUE, include_table = TRUE,
+ include_code = TRUE, install = FALSE)
Warning in readRDS(con) :
  URL 'https://CRAN.R-project.org/web/packages/packages.rds': Timeout of 60 seconds was reached
Error in readRDS(con) : cannot read from connection
Calls: create_template ... <Anonymous> -> as.data.frame -> read_CRAN_object -> readRDS
Execution halted
* checking for unstated dependencies in 'tests' ... OK
* checking tests ... [172s] ERROR
  Running 'testthat.R' [172s]
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 "D:/RCompile/recent/R/bin/x64/Rcmd.exe" INSTALL \
    "D:/temp/2025_02_15_01_50_01_12291/Rtmp2XeYA0/file2b47421607c79/shinyscholara" \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library 'D:/temp/2025_02_15_01_50_01_12291/Rtmp2XeYA0/temp_libpath2b4742a4f320a'
  * 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 initialize(...) : Invalid path to Chrome
  Running "D:/RCompile/recent/R/bin/x64/Rcmd.exe" INSTALL \
    "D:/temp/2025_02_15_01_50_01_12291/Rtmp2XeYA0/file2b4744cd01d5f/shinyscholarb" \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library 'D:/temp/2025_02_15_01_50_01_12291/Rtmp2XeYA0/temp_libpath2b4743b946b27'
  * 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)
  Error in initialize(...) : Invalid path to Chrome
  Running "D:/RCompile/recent/R/bin/x64/Rcmd.exe" INSTALL \
    "D:/temp/2025_02_15_01_50_01_12291/Rtmp2XeYA0/file2b474a251218/shinyscholarc" \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library 'D:/temp/2025_02_15_01_50_01_12291/Rtmp2XeYA0/temp_libpath2b47415995beb'
  * 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)
  Error in initialize(...) : Invalid path to Chrome
  Running "D:/RCompile/recent/R/bin/x64/Rcmd.exe" INSTALL \
    "D:/temp/2025_02_15_01_50_01_12291/Rtmp2XeYA0/file2b47458e53c3/shinyscholard" \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library 'D:/temp/2025_02_15_01_50_01_12291/Rtmp6vEb2e/RLIBS_5aa0f0e6c84'
  * 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)
  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
  Running "D:/RCompile/recent/R/bin/x64/Rcmd.exe" INSTALL \
    "D:/temp/2025_02_15_01_50_01_12291/Rtmp2XeYA0/file2b474557a2583/shinyscholara" \
    --install-tests --no-docs --no-multiarch --no-demo 
  * installing to library 'D:/temp/2025_02_15_01_50_01_12291/Rtmp2XeYA0/temp_libpath2b474398f279c'
  * 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 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 1 | WARN 0 | SKIP 25 | PASS 142 ]
  
  ══ Skipped tests (25) ══════════════════════════════════════════════════════════
  • 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 (16): 'test-create_template.R:157:7', 'test-create_template.R:200:7',
    'test-create_template.R:229:7', 'test-create_template.R:257:5',
    'test-downloads.R:7:5', 'test-downloads.R:40:5', 'test-downloads.R:57:5',
    'test-metadata.R:132:7', 'test-plot_hist.R:18:5', 'test-plot_scatter.R:21:5',
    'test-save_load.R:6:5', 'test-save_load.R:15:5', 'test-save_load.R:27:5',
    'test-save_load.R:38:5', 'test-select_user.R:16:5', 'test-select_user.R:26:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-create_template.R:61:3'): Check create template returns expected errors ──
  Error in `readRDS(con)`: cannot read from connection
  Backtrace:
       â–†
    1. ├─testthat::expect_warning(...) at test-create_template.R:61:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─shinyscholar::create_template(...)
    7.   ├─name %in% tools::CRAN_package_db()[, c("Package")]
    8.   └─tools::CRAN_package_db()
    9.     ├─base::as.data.frame(...)
   10.     └─tools:::read_CRAN_object(CRAN_baseurl_for_web_area(), "web/packages/packages.rds")
   11.       └─base::readRDS(con)
  
  [ FAIL 1 | WARN 0 | SKIP 25 | PASS 142 ]
  Error: Test failures
  Execution halted
* checking PDF version of manual ... [21s] OK
* checking HTML version of manual ... [4s] OK
* DONE
Status: 2 ERRORs