CRAN Package Check Results for Package serp

Last updated on 2024-12-05 19:50:09 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.5 6.27 87.84 94.11 OK
r-devel-linux-x86_64-debian-gcc 0.2.5 5.71 61.61 67.32 OK
r-devel-linux-x86_64-fedora-clang 0.2.5 169.36 OK
r-devel-linux-x86_64-fedora-gcc 0.2.5 150.65 OK
r-devel-windows-x86_64 0.2.5 8.00 103.00 111.00 OK
r-patched-linux-x86_64 0.2.5 8.04 83.18 91.22 OK
r-release-linux-x86_64 0.2.4 7.75 74.62 82.37 ERROR
r-release-macos-arm64 0.2.5 42.00 OK
r-release-macos-x86_64 0.2.5 99.00 OK
r-release-windows-x86_64 0.2.5 9.00 94.00 103.00 OK
r-oldrel-macos-arm64 0.2.5 43.00 OK
r-oldrel-macos-x86_64 0.2.5 101.00 OK
r-oldrel-windows-x86_64 0.2.5 10.00 120.00 130.00 OK

Check Details

Version: 0.2.4
Check: tests
Result: ERROR Running ‘testthat.R’ [17s/22s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > Sys.setenv("R_TESTS" = "") > library(testthat) > library(serp) > > test_check("serp") [ FAIL 8 | WARN 0 | SKIP 0 | PASS 35 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-model-formula.R:14:3'): formula is specified in serp ─────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(...) at test-model-formula.R:14:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-model-weights.R:22:13'): weight argument introduces no error ─── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(...) at test-model-weights.R:22:13 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-model-weights.R:79:13'): trace and errorMeterics work properly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(...) at test-model-weights.R:79:13 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-penalized-model.R:42:13'): estreem shrinkage with serp results to the proportional odds model (POM), while zero shrinkage returns the non-proportional odds model (NPOM) ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(summary(sp3)$penalty$lambda) at test-penalized-model.R:42:13 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-penalized-model.R:95:13'): lambda is a single numeric and non-negative value and that lambdaGrid contains the right input values ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(...) at test-penalized-model.R:95:13 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-penalized-model.R:145:13'): predict function works properly ──── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(pred1[1L, ]) at test-penalized-model.R:145:13 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-penalized-model.R:260:13'): error messages and warnings report properly ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(...) at test-penalized-model.R:260:13 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-unpenalized-model.R:22:13'): cumulative model via serp matches with vglm ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(predict(sp, type = "class")) at test-unpenalized-model.R:22:13 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 8 | WARN 0 | SKIP 0 | PASS 35 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64