- using R version 4.5.0 (2025-04-11)
- using platform: aarch64-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.4
- using session charset: UTF-8
- checking for file ‘routr/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘routr’ version ‘1.0.0’
- 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 ‘routr’ can be installed ... [3s/4s] 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 ... [1s/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [3s/3s] ERROR
Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(routr)
>
> test_check("routr")
[ FAIL 2 | WARN 1 | SKIP 23 | PASS 237 ]
══ Skipped tests (23) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-asset_route.R:9:3', 'test-asset_route.R:17:3',
'test-asset_route.R:102:3', 'test-asset_route.R:112:3',
'test-openapi_route.R:2:3', 'test-redirector.R:134:3',
'test-redirector.R:149:3', 'test-report_route.R:3:3',
'test-report_route.R:74:3', 'test-report_route.R:94:3',
'test-resource_route.R:3:3', 'test-route.R:7:3', 'test-route.R:37:3',
'test-route.R:59:3', 'test-route.R:136:3', 'test-routestack.R:38:3',
'test-routestack.R:48:3', 'test-routestack.R:68:3',
'test-shared_secret_route.R:3:3', 'test-sizelimit_route.R:6:3',
'test-sizelimit_route.R:23:3', 'test-sizelimit_route.R:147:3',
'test-tidy_api.R:128:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-report_route.R:54:3'): report_info detects file format correctly ──
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. └─routr::report_info(qmd_file) at test-report_route.R:54:3
2. └─routr:::quarto_info(file)
3. └─quarto::quarto_inspect(input)
4. └─quarto:::find_quarto()
5. └─cli::cli_abort(quarto_not_found_msg)
6. └─rlang::abort(...)
── Error ('test-report_route.R:116:3'): quarto_info extracts report information correctly ──
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. └─routr:::quarto_info(qmd_file) at test-report_route.R:116:3
2. └─quarto::quarto_inspect(input)
3. └─quarto:::find_quarto()
4. └─cli::cli_abort(quarto_not_found_msg)
5. └─rlang::abort(...)
[ FAIL 2 | WARN 1 | SKIP 23 | PASS 237 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [4s/5s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '