- 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.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 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 ... [0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [0s] 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 ... [52s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [269s] ERROR
Running 'testthat.R' [269s]
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-70.R
Saving _problems/test-create_template-93.R
Saving _problems/test-create_template-240.R
[ FAIL 3 | WARN 3 | SKIP 29 | PASS 150 ]
══ Skipped tests (29) ══════════════════════════════════════════════════════════
• On CRAN (29): 'test-create_template.R:163:7', 'test-create_template.R:210:7',
'test-create_template.R:280: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 ════════════════════════════════════════════════════════════════
── Failure ('test-create_template.R:67:3'): Check create template returns expected errors ──
`create_template(...)` threw an error with unexpected message.
Expected match: "The modules dataframe must contain the column\\(s\\): long_module"
Actual message: "cannot open the connection to 'https://CRAN.R-project.org/web/packages/packages.rds'"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-create_template.R:67: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::gzcon(url(sprintf("%s/%s", cran, path), open = "rb"))
12. └─base::url(sprintf("%s/%s", cran, path), open = "rb")
── Failure ('test-create_template.R:90:3'): Check create template returns expected errors ──
`create_template(...)` threw an error with unexpected message.
Expected match: "You have included a map but none of your modules use it"
Actual message: "cannot open the connection to 'https://CRAN.R-project.org/web/packages/packages.rds'"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-create_template.R:90: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::gzcon(url(sprintf("%s/%s", cran, path), open = "rb"))
12. └─base::url(sprintf("%s/%s", cran, path), open = "rb")
── Error ('test-create_template.R:237:7'): Check async, no map runs correctly ──
Error in `readRDS(con)`: cannot read from connection
Backtrace:
▆
1. ├─withr::with_temp_libpaths(...) at test-create_template.R:225:5
2. │ └─base::force(code)
3. └─shinyscholar::create_template(...) at test-create_template.R:237:7
4. ├─name %in% tools::CRAN_package_db()[, c("Package")]
5. └─tools::CRAN_package_db()
6. ├─base::as.data.frame(...)
7. └─tools:::read_CRAN_object(CRAN_baseurl_for_web_area(), "web/packages/packages.rds")
8. └─base::readRDS(con)
[ FAIL 3 | WARN 3 | SKIP 29 | PASS 150 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [16s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 1 ERROR