Last updated on 2022-09-11 12:56:41 CEST.
Package | ERROR | OK |
---|---|---|
sparsegl | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.4.0
Check: tests
Result: ERROR
Running 'testthat.R' [12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(sparsegl)
>
> test_check("sparsegl")
Loading required package: Matrix
Loaded glmnet 4.1-4
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 86 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure (test-l1penalty.R:39:5): Test if function throws error as expected or automatically perform
adjustment to the given data ──
out1$beta (`actual`) not equal to out2$beta (`expected`).
`actual@i[163:168]`: 3 4 5 9 10 11
`expected@i[163:171]`: 3 4 5 6 7 8 9 10 11
`actual@i[175:180]`: 3 4 5 9 10 11
`expected@i[178:186]`: 3 4 5 6 7 8 9 10 11
`actual@p[22:101]`: 135 147 159 171 183 198 213 228 243 258 and 70 more...
`expected@p[22:101]`: 135 147 159 174 189 204 219 234 249 264 ...
actual@x | expected@x
[157] -0.0122598924249922 | -0.0122598924249922 [157]
[158] 0.14457222604225 | 0.14457222604225 [158]
[159] -0.0944983205469945 | -0.0944983205469945 [159]
[160] 0.97270890351208 - 0.975071717939813 [160]
[161] 1.00641850135734 - 1.00986471756151 [161]
[162] 0.951062514602826 - 0.951998029361863 [162]
[163] -1.16384372091409 - -1.16987494278884 [163]
[164] -0.9150330214056 - -0.922894362126081 [164]
[165] -1.2265934807276 - -1.22641352655523 [165]
[166] -0.065564069860913 - 0.00739095701629032 [166]
... ... ... and 1147 more ...
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 86 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64