CRAN Package Check Results for Package serp

Last updated on 2024-11-13 17:49:31 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.4 8.66 80.86 89.52 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.4 5.92 55.58 61.50 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.4 145.24 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.4 153.56 OK
r-devel-windows-x86_64 0.2.4 8.00 88.00 96.00 ERROR
r-patched-linux-x86_64 0.2.4 8.26 74.34 82.60 ERROR
r-release-linux-x86_64 0.2.4 7.75 74.62 82.37 ERROR
r-release-macos-arm64 0.2.4 41.00 OK
r-release-macos-x86_64 0.2.4 64.00 OK
r-release-windows-x86_64 0.2.4 8.00 92.00 100.00 ERROR
r-oldrel-macos-arm64 0.2.4 43.00 OK
r-oldrel-macos-x86_64 0.2.4 70.00 OK
r-oldrel-windows-x86_64 0.2.4 11.00 106.00 117.00 ERROR

Check Details

Version: 0.2.4
Check: tests
Result: ERROR Running ‘testthat.R’ [18s/21s] 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-devel-linux-x86_64-debian-clang

Version: 0.2.4
Check: tests
Result: ERROR Running ‘testthat.R’ [11s/13s] 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-devel-linux-x86_64-debian-gcc

Version: 0.2.4
Check: tests
Result: ERROR Running ‘testthat.R’ [32s/48s] 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-devel-linux-x86_64-fedora-clang

Version: 0.2.4
Check: tests
Result: ERROR Running 'testthat.R' [14s] 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 Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.2.4
Check: tests
Result: ERROR Running ‘testthat.R’ [16s/20s] 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-patched-linux-x86_64

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

Version: 0.2.4
Check: tests
Result: ERROR Running 'testthat.R' [19s] 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-oldrel-windows-x86_64