- using R version 4.4.1 Patched (2024-08-05 r86980)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-8) 14.2.0
GNU Fortran (Debian 14.2.0-8) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘serp/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘serp’ version ‘0.2.4’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘serp’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [2s/2s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [14s/18s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [3s/5s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [16s/20s] 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
- checking PDF version of manual ... [4s/7s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR