- 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 ‘plumber/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘plumber’ version ‘1.3.2’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... NOTE
Package suggested but not available for checking: ‘arrow’
- 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 ‘plumber’ can be installed ... [9s/11s] 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 ... [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 whether startup messages can be suppressed ... [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 ... [5s/10s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... NOTE
Package unavailable to check Rd xrefs: ‘arrow’
- 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 ... [61s/122s] ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [61s/121s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(plumber)
>
> test_check("plumber")
Saving _problems/test-parser-8.R
[ FAIL 2 | WARN 0 | SKIP 24 | PASS 1918 ]
══ Skipped tests (24) ══════════════════════════════════════════════════════════
• On CRAN (15): 'test-cookies.R:41:3', 'test-deprecated.R:60:3',
'test-find-port.R:40:3', 'test-find-port.R:56:3', 'test-legacy.R:20:3',
'test-options.R:22:3', 'test-plumber-print.R:2:3',
'test-plumber-print.R:60:3', 'test-plumber.R:67:3',
'test-serializer-device.R:21:1', 'test-serializer-htmlwidgets.R:20:3',
'test-static.R:23:3', 'test-zzz-openapi.R:302:3',
'test-zzz-plumb_api.R:10:3', 'test-zzz-plumb_api.R:65:3'
• {arrow} is not installed (9): 'test-parse-body.R:93:3',
'test-parse-body.R:113:3', 'test-parse-body.R:133:3',
'test-serializer-arrow-ipc.R:4:3', 'test-serializer-arrow-ipc.R:21:3',
'test-serializer-arrow-ipc.R:34:3', 'test-serializer-feather.R:4:3',
'test-serializer-feather.R:21:3', 'test-serializer-feather.R:34:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-parser.R:8:5'): parsers can be combined ────────────────────────
Error in `(function (...) { if (!requireNamespace("arrow", quietly = TRUE)) { stop("`arrow` must be installed for `parser_feather` to work") } parse_fn <- function(raw_val) { arrow::read_feather(raw_val, ...) } function(value, ...) { parse_fn(value) } })()`: `arrow` must be installed for `parser_feather` to work
Backtrace:
▆
1. └─plumber (local) expect_parsers(...) at test-parser.R:20:3
2. └─plumber:::make_parser(names) at test-parser.R:8:5
3. └─base::lapply(...)
4. └─plumber (local) FUN(X[[i]], ...)
5. ├─base::do.call(init_parser_func, aliases[[alias]])
6. └─plumber (local) `<fn>`()
7. ├─base::do.call(parser, list(...))
8. └─plumber (local) `<fn>`()
── Error ('test-parser.R:39:3'): parsers work ──────────────────────────────────
Error in `(function (...) { if (!requireNamespace("arrow", quietly = TRUE)) { stop("`arrow` must be installed for `parser_feather` to work") } parse_fn <- function(raw_val) { arrow::read_feather(raw_val, ...) } function(value, ...) { parse_fn(value) } })()`: `arrow` must be installed for `parser_feather` to work
Backtrace:
▆
1. └─plumber::pr(test_path("files/parsers.R")) at test-parser.R:39:3
2. └─Plumber$new(file = file, filters = filters, envir = envir)
3. └─plumber (local) initialize(...)
4. └─plumber:::evaluateBlock(...)
5. └─base::lapply(...)
6. └─plumber (local) FUN(X[[i]], ...)
7. └─PlumberEndpoint$new(...)
8. └─plumber (local) initialize(...)
9. └─plumber:::make_parser(parsers)
10. └─base::lapply(...)
11. └─plumber (local) FUN(X[[i]], ...)
12. ├─base::do.call(init_parser_func, aliases[[alias]])
13. └─plumber (local) `<fn>`()
14. ├─base::do.call(parser, list(...))
15. └─plumber (local) `<fn>`()
[ FAIL 2 | WARN 0 | SKIP 24 | PASS 1918 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [8s/11s] OK
- DONE
Status: 1 ERROR, 2 NOTEs
- using check arguments '--no-clean-on-error '