- using R version 4.4.1 (2024-06-14)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- 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 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 ... [2s/2s] 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/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [2s/2s] OK
- checking Rd files ... [0s/0s] 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 ... [7s/18s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [112s/174s] ERROR
Running ‘testthat.R’ [112s/174s]
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")
/usr/local/bin/pandoc +RTS -K512m -RTS shinyscholar-session-2025-01-17.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output shinyscholar-session-2025-01-17.html --lua-filter /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --variable bs3=TRUE --section-divs --template /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable theme=bootstrap --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /var/folders/k4/0jwzxmln0nb8y6rkzprptb640000gq/T//Rtmp3ZaLEB/rmarkdown-strd0d27be7bcec.html
[WARNING] This document format requires a nonempty <title> element.
Defaulting to 'shinyscholar-session-2025-01-17.knit' as the title.
To specify a title, use 'title' in metadata or --metadata title="...".
Error in app_download(self, private, output = output, name = name, save_dir = save_dir, :
Download from '#core_save-save_session' failed
[1] "plot_hist_test setup failed - retrying"
[ FAIL 3 | WARN 0 | SKIP 9 | PASS 144 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• 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'
══ 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 9 | PASS 144 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [2s/2s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '