CRAN Package Check Results for Maintainer ‘Cynthia Shao <cynyu.shao at gmail.com>’

Last updated on 2024-06-27 08:50:23 CEST.

Package ERROR NOTE OK
TPCselect 1 2 10

Package TPCselect

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' [11s] 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:8]`: 2.8 1.6 0.0 0.0 2.2 0.0 0.0 0.0 `expected[1:8]`: 3.0 1.5 0.0 0.0 2.0 0.0 0.0 0.0 `actual[197:200]`: 0.0 0.0 0.0 0.2 `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-oldrel-windows-x86_64