- using R version 4.4.1 (2024-06-14)
- using platform: x86_64-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.3.1
- 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 ... [3s/5s] 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/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [3s/4s] 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 ... [10s/23s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [239s/301s] ERROR
Running ‘testthat.R’ [239s/301s]
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")
{shinytest2} query failed (500)----------------------
URL: http://127.0.0.1:7846/session/31c5c196f0f6865cb3e99f4d9eb039f8/download/rep_markdown-dlRMD?w=
<html>
<head lang = "en">
<title>An error has occurred</title>
</head>
<body>
<h1>An error has occurred!</h1>
<p>pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).</p>
</body>
</html>
----------------------------------------
Error in app_download(self, private, output = output, name = name, save_dir = save_dir, :
Download from '#core_save-save_session' failed
[1] "save_scat_test setup failed - retrying"
Error in app_download(self, private, output = output, name = name, save_dir = save_dir, :
Download from '#core_save-save_session' failed
[1] "save_scat_test setup failed - retrying"
[ FAIL 4 | WARN 0 | SKIP 9 | PASS 140 ]
══ 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-downloads.R:14:5'): {shinytest2} recording: e2e_markdown ───────
Error in `app_httr_get(self, private, full_url)`: Unable request data from server
Backtrace:
▆
1. └─app$get_download("rep_markdown-dlRMD") at test-downloads.R:14:5
2. └─shinytest2:::app_get_download(...)
3. └─shinytest2:::app_download(...)
4. └─shinytest2:::app_httr_get(self, private, full_url)
5. └─shinytest2:::app_abort(self, private, "Unable request data from server")
6. └─rlang::abort(..., app = self, call = call)
── 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 4 | WARN 0 | SKIP 9 | PASS 140 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [5s/5s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '