- using R version 4.6.1 (2026-06-24)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.1.0-2) 16.1.0
GNU Fortran (Debian 16.1.0-2) 16.1.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-07-25 22:15:50 UTC
- checking for file ‘vetiver/DESCRIPTION’ ... OK
- this is package ‘vetiver’ version ‘0.2.7’
- 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 whether package ‘vetiver’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... 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 ... [1s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/2s] OK
- checking loading without being on the library search path ... [1s/2s] OK
- checking whether startup messages can be suppressed ... [1s/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 ... [12s/17s] OK
- checking Rd files ... [1s/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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [11s/15s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
vetiver_compute_metrics 4.481 0.23 6.557
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [34s/46s] ERROR
Running ‘testthat.R’ [33s/46s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(vetiver)
>
> test_check("vetiver")
Loading required package: ggplot2
Loading required package: lattice
Create a Model Card for your published model
* Model Cards provide a framework for transparent, responsible reporting
* Use the vetiver `.Rmd` template as a place to start
This message is displayed once per session.
This is mgcv 1.9-4. For overview type '?mgcv'.
Saving _problems/test-mlr3-4.R
Saving _problems/test-mlr3-12.R
Attaching package: 'parsnip'
The following object is masked from 'package:e1071':
tune
Attaching package: 'probably'
The following objects are masked from 'package:base':
as.factor, as.ordered
Attaching package: 'tune'
The following object is masked from 'package:e1071':
tune
The following object is masked from 'package:vetiver':
load_pkgs
Attaching package: 'rsample'
The following object is masked from 'package:e1071':
permutations
The following object is masked from 'package:caret':
calibration
Attaching package: 'recipes'
The following object is masked from 'package:stats':
step
Your rsconnect bundle has been created at:
* /home/hornik/tmp/scratch/RtmpJZ3EMB/file11a5f058a3c16e/bundle11a5f04b38fcc6.tar.gz
[ FAIL 2 | WARN 2 | SKIP 71 | PASS 226 ]
══ Skipped tests (71) ══════════════════════════════════════════════════════════
• On CRAN (71): 'test-api.R:16:1', 'test-api.R:92:1', 'test-attach-pkgs.R:2:3',
'test-attach-pkgs.R:7:3', 'test-attach-pkgs.R:12:3', 'test-caret.R:22:1',
'test-caret.R:67:3', 'test-choose-version.R:4:3',
'test-choose-version.R:35:1', 'test-create-ptype.R:41:1',
'test-dashboard.R:12:3', 'test-gam.R:8:1', 'test-gam.R:65:3',
'test-glm.R:7:1', 'test-glm.R:64:3', 'test-keras.R:1:1',
'test-kproto.R:14:1', 'test-kproto.R:70:3', 'test-luz.R:1:1',
'test-mlr3.R:53:3', 'test-monitor.R:86:3', 'test-monitor.R:92:3',
'test-monitor.R:99:3', 'test-monitor.R:150:3', 'test-pin-read-write.R:3:1',
'test-pin-read-write.R:17:1', 'test-pin-read-write.R:142:3',
'test-predict.R:1:1', 'test-probably.R:48:1', 'test-probably.R:104:3',
'test-probably.R:115:1', 'test-probably.R:171:3', 'test-probably.R:182:1',
'test-probably.R:238:3', 'test-probably.R:250:1', 'test-probably.R:306:3',
'test-ranger.R:9:1', 'test-ranger.R:13:1', 'test-ranger.R:64:3',
'test-recipe.R:14:1', 'test-recipe.R:66:3', 'test-rsconnect.R:25:3',
'test-sagemaker.R:4:3', 'test-sagemaker.R:39:3', 'test-sagemaker.R:66:1',
'test-sagemaker.R:103:1', 'test-sagemaker.R:140:1', 'test-sagemaker.R:154:1',
'test-sagemaker.R:243:1', 'test-stacks.R:1:1', 'test-tidymodels.R:21:1',
'test-tidymodels.R:76:3', 'test-type-convert.R:15:1',
'test-type-convert.R:31:1', 'test-type-convert.R:49:1',
'test-write-docker.R:5:3', 'test-write-docker.R:17:3',
'test-write-docker.R:39:3', 'test-write-docker.R:60:3',
'test-write-docker.R:73:3', 'test-write-docker.R:93:3',
'test-write-docker.R:100:3', 'test-write-plumber.R:4:3',
'test-write-plumber.R:20:3', 'test-write-plumber.R:47:3',
'test-write-plumber.R:66:3', 'test-write-plumber.R:83:3',
'test-write-plumber.R:104:3', 'test-write-plumber.R:121:3',
'test-xgboost.R:14:1', 'test-xgboost.R:69:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-mlr3.R:4:3'): mlr3 learner description can be printed ──────────
Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
Backtrace:
▆
1. └─mlr3::tsk("pima") at test-mlr3.R:4:3
2. └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
3. └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
4. └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
5. ├─base::do.call(constructor, cargs)
6. └─mlr3 (local) `<fn>`()
7. └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
── Error ('test-mlr3.R:12:3'): mlr3 learners can be pinned ─────────────────────
Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
Backtrace:
▆
1. └─mlr3::tsk("pima") at test-mlr3.R:12:3
2. └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
3. └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
4. └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
5. ├─base::do.call(constructor, cargs)
6. └─mlr3 (local) `<fn>`()
7. └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
[ FAIL 2 | WARN 2 | SKIP 71 | PASS 226 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [8s/12s] OK
- checking PDF version of manual ... [6s/9s] OK
- checking HTML version of manual ... [4s/8s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR