Last updated on 2024-06-30 00:59:39 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
TPCselect | 1 | 2 | 10 |
Current CRAN status: ERROR: 1, NOTE: 2, OK: 10
Version: 0.8.3
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘MASS’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.8.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(TPCselect)
>
> test_check("TPCselect")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-TPC.R:25:3'): test the main functions (TPC) ──────────────────
as.vector(TPC.fit$beta) (`actual`) not equal to `truebeta` (`expected`).
`actual[1:5]`: 2.9 1.6 0.0 0.0 2.0
`expected[1:5]`: 3.0 1.5 0.0 0.0 2.0
`actual[197:200]`: 0.0 0.0 0.0 0.4
`expected[197:200]`: 0.0 0.0 0.0 0.0
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 5 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64