- using R Under development (unstable) (2025-02-02 r87676)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘OhdsiReportGenerator/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘OhdsiReportGenerator’ version ‘1.0.1’
- 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 ‘OhdsiReportGenerator’ can be installed ... [3s/3s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ 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 ... [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 ... [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/3s] OK
- checking Rd files ... [1s/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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [7s/5s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [8s/6s] ERROR
Running ‘testthat.R’ [8s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("OhdsiReportGenerator")
Loading required package: OhdsiReportGenerator
Connecting using SQLite driver
[ FAIL 1 | WARN 1 | SKIP 2 | PASS 385 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• empty test (1): 'test-Helpers.R:89:1'
• skip prediction report due to odd linux error (1):
'test-PredictionReport.R:5:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-Generate.R:10:3'): generatePresentationMultiple ────────────────
Error in `find_quarto()`: Quarto command-line tools path not found!
Please make sure you have installed and added Quarto to your PATH or set the
QUARTO_PATH environment variable.
Backtrace:
▆
1. └─OhdsiReportGenerator::generatePresentationMultiple(...) at test-Generate.R:10:3
2. └─quarto::quarto_render(...)
3. └─quarto:::find_quarto()
4. └─cli::cli_abort(quarto_not_found_msg)
5. └─rlang::abort(...)
[ FAIL 1 | WARN 1 | SKIP 2 | PASS 385 ]
Error: Test failures
Execution halted
Closing database connection
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [12s/11s] OK
- checking PDF version of manual ... [6s/7s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '