-
Notifications
You must be signed in to change notification settings - Fork 263
Open
Description
Several tests fail:
R version 4.5.1 (2025-06-13) -- "Great Square Root"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.8.0 (32-bit)
> library(testthat)
> library(plumber)
>
> test_check("plumber")
[ FAIL 6 | WARN 0 | SKIP 15 | PASS 1907 ]
══ Skipped tests (15) ══════════════════════════════════════════════════════════
• On CRAN (15): 'test-cookies.R:47: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:26:1', 'test-serializer-htmlwidgets.R:18:3',
'test-static.R:23:3', 'test-zzz-openapi.R:254:3',
'test-zzz-plumb_api.R:10:3', 'test-zzz-plumb_api.R:65:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-async.R:387:3'): accessing two images created using promises does not create an error ──
`{ ... }` produced output.
── Failure ('test-async.R:396:3'): accessing two images created using promises does not create an error ──
p1_val$status not equal to 200L.
1/1 mismatches
[1] 500 - 200 == 300
── Failure ('test-async.R:397:3'): accessing two images created using promises does not create an error ──
p1_val$headers$`Content-Type` not equal to "image/png".
1/1 mismatches
x[1]: "application/json"
y[1]: "image/png"
── Failure ('test-async.R:398:3'): accessing two images created using promises does not create an error ──
is.raw(p1_val$body) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-async.R:399:3'): accessing two images created using promises does not create an error ──
length(p1_val$body) is not strictly more than 1000. Difference: -999
── Failure ('test-parse-body.R:134:3'): Test parquet parser ────────────────────
`parsed` not equal to `r_object`.
Component "Sepal.Length": 'is.NA' value mismatch: 0 in current 22 in target
Component "Sepal.Width": 'is.NA' value mismatch: 0 in current 22 in target
Component "Petal.Length": 'is.NA' value mismatch: 0 in current 22 in target
Component "Petal.Width": 'is.NA' value mismatch: 0 in current 22 in target
[ FAIL 6 | WARN 0 | SKIP 15 | PASS 1907 ]
Error: Test failures
Execution halted
parquet
does not work perhaps due to endianness issues (nanoparquet
, for example, does not work either).
Could the remaining failure be addressed?
> sessionInfo()
R version 4.5.1 (2025-06-13)
Platform: powerpc-apple-darwin10.8.0 (32-bit)
Running under: OS X Snow Leopard 10.6.8
Matrix products: default
BLAS: /opt/local/Library/Frameworks/R.framework/Versions/4.5/Resources/lib/libRblas.dylib
LAPACK: /opt/local/Library/Frameworks/R.framework/Versions/4.5/Resources/lib/libRlapack.dylib; LAPACK version 3.12.1
locale:
[1] en_US.utf-8/en_US.utf-8/en_US.utf-8/C/en_US.utf-8/en_US.utf-8
time zone: Asia/Taipei
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] plumber_1.3.0
loaded via a namespace (and not attached):
[1] compiler_4.5.1 magrittr_2.0.3 R6_2.6.1 cli_3.6.5
[5] later_1.4.2 promises_1.3.3 tools_4.5.1 swagger_5.17.14.1
[9] crayon_1.5.3 Rcpp_1.1.0 stringi_1.8.7 jsonlite_2.0.0
[13] webutils_1.2.2 lifecycle_1.0.4 rlang_1.1.6
Metadata
Metadata
Assignees
Labels
No labels