CRAN Package Check Results for Package serp

Last updated on 2024-11-22 03:52:51 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.4 8.01 79.19 87.20 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.4 5.96 55.08 61.04 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.4 145.24 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.4 155.39 OK
r-devel-windows-x86_64 0.2.4 8.00 89.00 97.00 ERROR
r-patched-linux-x86_64 0.2.4 8.42 74.98 83.40 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 87.00 95.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 111.00 122.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/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 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' [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-windows-x86_64

Version: 0.2.4
Check: tests
Result: ERROR Running ‘testthat.R’ [17s/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' [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 Flavor: r-release-windows-x86_64

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