Last updated on 2024-11-21 19:53:01 CET.
Package | ERROR | OK |
---|---|---|
multiDoE | 2 | 7 |
Current CRAN status: ERROR: 2, OK: 7
Version: 0.9.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [45s/47s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(multiDoE)
>
> test_check("multiDoE")
[1] "tests_data/ex_score_cs1.Rds"
[1] 1
[1] 2
[1] 3
[1] 4
[1] 5
[1] 6
[1] 7
[1] 8
[1] 9
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_cs1.R:172:3'): runTPLSearch works ────────────────────────────
runTPLS(...) (`actual`) not equal to structure(...) (`expected`).
actual$ar[[5]]$scores vs expected$ar[[5]]$scores
[,1] [,2] [,3]
actual$ar[[5]]$scores[21, ] 3.506164802e-01 0.10249150495 1.316202110e-01
actual$ar[[5]]$scores[22, ] 3.538000222e-01 0.10081430258 1.337544793e-01
actual$ar[[5]]$scores[23, ] 4.332805979e+01 0.31520738616 4.141035533e+01
- actual$ar[[5]]$scores[24, ] 9.034168420e+13 4.76225573108 6.775626315e+13
+ expected$ar[[5]]$scores[24, ] 1.159455434e+02 0.38509560424 8.148504377e+01
actual$ar[[5]]$scores[25, ] 3.525809168e-01 0.10464645636 1.319587346e-01
actual$ar[[5]]$scores[26, ] 3.776864161e-01 0.09567034905 1.385449733e-01
actual$ar[[5]]$scores[27, ] 3.512292404e-01 0.10466966389 1.326624394e-01
actual$ar[[5]]$solutions[[24]] vs expected$ar[[5]]$solutions[[24]]
[,1] [,2] [,3]
- actual$ar[[5]]$solutions[[24]][1, ] 0 -1 1
+ expected$ar[[5]]$solutions[[24]][1, ] 0 -1 0
actual$ar[[5]]$solutions[[24]][2, ] -1 1 0
- actual$ar[[5]]$solutions[[24]][3, ] 1 -1 -1
+ expected$ar[[5]]$solutions[[24]][3, ] 1 0 -1
actual$ar[[5]]$solutions[[24]][4, ] 1 1 1
actual$ar[[5]]$solutions[[24]][5, ] 1 -1 1
actual$ar[[5]]$solutions[[24]][6, ] -1 1 1
actual$ar[[5]]$solutions[[24]][7, ] 1 -1 1
- actual$ar[[5]]$solutions[[24]][8, ] 1 1 1
+ expected$ar[[5]]$solutions[[24]][8, ] 1 1 -1
- actual$ar[[5]]$solutions[[24]][9, ] 1 0 1
+ expected$ar[[5]]$solutions[[24]][9, ] 1 1 -1
actual$ar[[5]]$solutions[[24]][10, ] -1 -1 -1
and 2 more ...
actual$ar[[5]]$solutions[[24]] vs expected$ar[[5]]$solutions[[24]]
[,1] [,2] [,3]
actual$ar[[5]]$solutions[[24]][17, ] 0 0 0
actual$ar[[5]]$solutions[[24]][18, ] -1 -1 -1
actual$ar[[5]]$solutions[[24]][19, ] 0 0 0
- actual$ar[[5]]$solutions[[24]][20, ] 1 0 1
+ expected$ar[[5]]$solutions[[24]][20, ] 0 0 1
- actual$ar[[5]]$solutions[[24]][21, ] 1 1 1
+ expected$ar[[5]]$solutions[[24]][21, ] 1 1 -1
- actual$ar[[5]]$solutions[[24]][22, ] 1 -1 1
+ expected$ar[[5]]$solutions[[24]][22, ] -1 -1 -1
actual$ar[[5]]$solutions[[24]][23, ] 0 0 0
- actual$ar[[5]]$solutions[[24]][24, ] 1 1 1
+ expected$ar[[5]]$solutions[[24]][24, ] -1 1 1
- actual$ar[[5]]$solutions[[24]][25, ] 1 1 1
+ expected$ar[[5]]$solutions[[24]][25, ] 1 1 -1
actual$ar[[5]]$solutions[[24]][26, ] 0 0 0
and 2 more ...
actual$stats[[5]] | expected$stats[[5]]
[19] 19731.0 | 19731.0 [19]
[20] 20068.0 | 20068.0 [20]
[21] 21281.0 | 21281.0 [21]
[22] 22309.0 - 22314.0 [22]
[23] 22816.0 - 22821.0 [23]
[24] 23156.0 - 23161.0 [24]
[25] 23663.0 - 23668.0 [25]
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
Error: Test failures
Execution halted
Flavors: r-release-macos-arm64, r-oldrel-macos-arm64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.