- using R version 4.5.3 (2026-03-11 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'parsnip/DESCRIPTION' ... OK
- this is package 'parsnip' version '1.6.1'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'parsnip' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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 ... [2s] OK
- checking whether the package can be loaded with stated dependencies ... [2s] OK
- checking whether the package can be unloaded cleanly ... [2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s] OK
- checking loading without being on the library search path ... [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 ... [25s] OK
- checking Rd files ... [12s] OK
- checking Rd metadata ... 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 ... [1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [17s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [138s] ERROR
Running 'testthat.R' [138s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(parsnip)
>
> test_check("parsnip")
Attaching package: 'modeldata'
The following object is masked from 'package:datasets':
penguins
To use legacy Keras via py_require(), call py_require_legacy_keras() at the start of the R session.
Hint: To use tensorflow with `py_require()`, call `py_require("tensorflow")` at the start of the R session
Attaching package: 'sparklyr'
The following object is masked from 'package:stats':
filter
Saving _problems/test-svm_linear-204.R
[ FAIL 1 | WARN 0 | SKIP 312 | PASS 980 ]
══ Skipped tests (312) ═════════════════════════════════════════════════════════
• Installed xgboost is version 3.2.1.1; but 3.4.0.0 is required (1):
'test-boost_tree_xgboost.R:1013:3'
• On CRAN (280): 'test-adds.R:7:1', 'test-args_and_modes.R:1:1',
'test-args_and_modes.R:31:1', 'test-args_and_modes.R:41:1',
'test-args_and_modes.R:49:1', 'test-args_and_modes.R:119:1',
'test-arguments.R:1:1', 'test-augment.R:1:1', 'test-augment.R:140:1',
'test-bart-tunable.R:1:1', 'test-boost_tree-tunable.R:1:1',
'test-boost_tree-tunable.R:9:1', 'test-boost_tree-tunable.R:17:1',
'test-boost_tree-tunable.R:25:1', 'test-boost_tree-tunable.R:33:1',
'test-boost_tree.R:7:1', 'test-boost_tree.R:15:1', 'test-boost_tree.R:43:3',
'test-boost_tree.R:55:3', 'test-boost_tree_C5.0.R:14:1',
'test-boost_tree_C5.0.R:115:1', 'test-boost_tree_C5.0.R:161:1',
'test-boost_tree_xgboost.R:33:3', 'test-boost_tree_xgboost.R:100:3',
'test-boost_tree_xgboost.R:170:3', 'test-boost_tree_xgboost.R:196:3',
'test-boost_tree_xgboost.R:232:3', 'test-boost_tree_xgboost.R:283:3',
'test-boost_tree_xgboost.R:346:3', 'test-boost_tree_xgboost.R:372:3',
'test-boost_tree_xgboost.R:426:3', 'test-boost_tree_xgboost.R:489:3',
'test-boost_tree_xgboost.R:578:3', 'test-boost_tree_xgboost.R:650:3',
'test-boost_tree_xgboost.R:692:3', 'test-boost_tree_xgboost.R:794:3',
'test-boost_tree_xgboost.R:823:3', 'test-boost_tree_xgboost.R:859:3',
'test-case-weights.R:105:1', 'test-condense_control.R:1:1',
'test-convert_data.R:280:1', 'test-convert_data.R:348:1',
'test-convert_data.R:379:1', 'test-convert_data.R:654:1',
'test-convert_data.R:671:1', 'test-decision_tree-tunable.R:1:1',
'test-decision_tree-tunable.R:9:1', 'test-decision_tree-tunable.R:17:1',
'test-decision_tree-tunable.R:25:1', 'test-decision_tree.R:7:1',
'test-decision_tree.R:15:1', 'test-decision_tree.R:32:1',
'test-descriptors.R:202:1', 'test-descriptors.R:225:3', 'test-engines.R:1:1',
'test-extract.R:3:1', 'test-extract.R:54:1', 'test-extract.R:67:1',
'test-extract.R:110:1', 'test-failed_models.R:25:1',
'test-failed_models.R:47:1', 'test-fit_interfaces.R:34:1',
'test-fit_interfaces.R:65:1', 'test-fit_interfaces.R:81:1',
'test-fit_interfaces.R:117:1', 'test-fit_interfaces.R:167:3',
'test-fit_interfaces.R:196:1', 'test-fit_interfaces.R:225:1',
'test-format_predictions.R:128:1', 'test-format_predictions.R:132:1',
'test-format_predictions.R:136:1', 'test-format_predictions.R:140:1',
'test-format_predictions.R:144:1', 'test-format_predictions.R:148:1',
'test-format_predictions.R:152:1', 'test-gen_additive_mod-tunable.R:1:1',
'test-gen_additive_model.R:3:1', 'test-gen_additive_model.R:47:1',
'test-glm_grouped.R:20:1', 'test-linear_reg-tunable.R:1:1',
'test-linear_reg-tunable.R:9:1', 'test-linear_reg-tunable.R:17:1',
'test-linear_reg-tunable.R:25:1', 'test-linear_reg-tunable.R:33:1',
'test-linear_reg-tunable.R:41:1', 'test-linear_reg-tunable.R:49:1',
'test-linear_reg-tunable.R:57:1', 'test-linear_reg-tunable.R:65:1',
'test-linear_reg-tunable.R:73:1', 'test-linear_reg-tunable.R:81:1',
'test-linear_reg-tunable.R:89:1', 'test-linear_reg-tunable.R:97:1',
'test-linear_reg-tunable.R:105:1', 'test-linear_reg.R:7:1',
'test-linear_reg.R:15:1', 'test-linear_reg.R:29:1',
'test-linear_reg.R:109:1', 'test-linear_reg.R:308:1',
'test-linear_reg.R:318:1', 'test-linear_reg.R:325:1',
'test-linear_reg.R:354:1', 'test-linear_reg.R:408:1',
'test-linear_reg_keras3.R:30:3', 'test-linear_reg_keras3.R:94:3',
'test-logistic_reg-tunable.R:1:1', 'test-logistic_reg-tunable.R:9:1',
'test-logistic_reg-tunable.R:17:1', 'test-logistic_reg-tunable.R:25:1',
'test-logistic_reg-tunable.R:33:1', 'test-logistic_reg-tunable.R:41:1',
'test-logistic_reg-tunable.R:49:1', 'test-logistic_reg.R:7:1',
'test-logistic_reg.R:15:1', 'test-logistic_reg.R:39:1',
'test-logistic_reg.R:174:1', 'test-logistic_reg.R:271:1',
'test-logistic_reg.R:312:1', 'test-logistic_reg_keras3.R:40:3',
'test-logistic_reg_keras3.R:104:3', 'test-logistic_reg_keras3.R:154:3',
'test-mars-tunable.R:1:1', 'test-mars.R:7:1', 'test-mars.R:24:1',
'test-mars.R:154:1', 'test-mars.R:250:1', 'test-misc.R:6:1',
'test-misc.R:60:1', 'test-misc.R:104:1', 'test-misc.R:132:1',
'test-misc.R:167:1', 'test-misc.R:171:1', 'test-misc.R:179:1',
'test-misc.R:206:1', 'test-misc.R:278:1', 'test-misc.R:331:1',
'test-mlp-tunable.R:1:1', 'test-mlp-tunable.R:9:1',
'test-mlp-tunable.R:17:1', 'test-mlp-tunable.R:25:1',
'test-mlp-tunable.R:33:1', 'test-mlp.R:5:1', 'test-mlp.R:13:1',
'test-mlp.R:63:1', 'test-mlp.R:88:1', 'test-mlp_keras3.R:26:3',
'test-mlp_keras3.R:58:3', 'test-mlp_keras3.R:117:3',
'test-mlp_keras3.R:174:3', 'test-mlp_keras3.R:200:3',
'test-mlp_keras3.R:245:3', 'test-mlp_keras3.R:280:3',
'test-model_basics.R:1:1', 'test-multinom_reg-tunable.R:1:1',
'test-multinom_reg-tunable.R:9:1', 'test-multinom_reg-tunable.R:17:1',
'test-multinom_reg-tunable.R:25:1', 'test-multinom_reg-tunable.R:33:1',
'test-multinom_reg.R:6:1', 'test-multinom_reg.R:14:1',
'test-multinom_reg.R:30:1', 'test-multinom_reg.R:55:1',
'test-multinom_reg_keras3.R:38:3', 'test-multinom_reg_keras3.R:102:3',
'test-multinom_reg_keras3.R:152:3', 'test-nearest_neighbor-tunable.R:1:1',
'test-nearest_neighbor.R:1:1', 'test-nearest_neighbor.R:9:1',
'test-nearest_neighbor.R:13:1', 'test-nearest_neighbor_kknn.R:188:1',
'test-null_model-tunable.R:1:1', 'test-nullmodel.R:5:1',
'test-nullmodel.R:183:1', 'test-ordinal_reg.R:10:1',
'test-ordinal_reg.R:18:1', 'test-ordinal_reg.R:34:1',
'test-ordinal_reg.R:48:1', 'test-packages.R:5:1', 'test-packages.R:33:1',
'test-partykit.R:4:3', 'test-partykit.R:49:3',
'test-predict_formats.R:142:1', 'test-predict_formats.R:196:3',
'test-predict_raw.R:1:1', 'test-print.R:1:1', 'test-print.R:9:1',
'test-rand_forest-tunable.R:1:1', 'test-rand_forest-tunable.R:9:1',
'test-rand_forest-tunable.R:17:1', 'test-rand_forest-tunable.R:25:1',
'test-rand_forest-tunable.R:33:1', 'test-rand_forest.R:1:1',
'test-rand_forest.R:9:1', 'test-rand_forest_ranger.R:21:1',
'test-rand_forest_ranger.R:121:1', 'test-rand_forest_ranger.R:264:1',
'test-rand_forest_ranger.R:474:1', 'test-rand_forest_ranger.R:546:1',
'test-re_registration.R:30:1', 'test-re_registration.R:68:1',
'test-re_registration.R:105:1', 'test-registration.R:1:1',
'test-registration.R:65:1', 'test-registration.R:70:1',
'test-registration.R:81:1', 'test-registration.R:105:1',
'test-registration.R:143:1', 'test-registration.R:327:1',
'test-registration.R:458:1', 'test-registration.R:594:1',
'test-repair_call.R:1:1', 'test-sparsevctrs.R:5:3',
'test-sparsevctrs.R:23:1', 'test-sparsevctrs.R:37:3',
'test-sparsevctrs.R:55:1', 'test-sparsevctrs.R:69:3',
'test-sparsevctrs.R:86:1', 'test-sparsevctrs.R:100:3',
'test-sparsevctrs.R:117:1', 'test-sparsevctrs.R:149:1',
'test-sparsevctrs.R:186:1', 'test-sparsevctrs.R:205:3',
'test-sparsevctrs.R:247:3', 'test-sparsevctrs.R:313:3',
'test-sparsevctrs.R:396:1', 'test-standalone-survival.R:1:1',
'test-surv_reg-tunable.R:1:1', 'test-surv_reg-tunable.R:9:1',
'test-surv_reg-tunable.R:17:1', 'test-survival-censoring-weights.R:25:1',
'test-survival-censoring-weights.R:55:1',
'test-survival-censoring-weights.R:63:1',
'test-survival-censoring-weights.R:81:1',
'test-survival-censoring-weights.R:89:1', 'test-svm_linear-tunable.R:1:1',
'test-svm_linear-tunable.R:9:1', 'test-svm_linear.R:7:1',
'test-svm_linear.R:15:1', 'test-svm_linear.R:35:1',
'test-svm_linear.R:173:1', 'test-svm_poly-tunable.R:1:1',
'test-svm_poly.R:6:1', 'test-svm_poly.R:14:1', 'test-svm_rbf-tunable.R:1:1',
'test-svm_rbf-tunable.R:9:1', 'test-svm_rbf.R:7:1', 'test-svm_rbf.R:15:1',
'test-svm_rbf.R:23:1', 'test-tabular_auto_int.R:10:1',
'test-tabular_auto_int.R:43:1', 'test-tabular_chronos.R:10:1',
'test-tabular_icl.R:10:1', 'test-tabular_icl.R:35:1',
'test-tabular_pfn.R:10:1', 'test-tabular_pfn.R:42:1',
'test-tabular_resnet.R:10:1', 'test-tabular_resnet.R:45:1',
'test-tabular_rln.R:10:1', 'test-tabular_rln.R:39:1',
'test-tabular_saint.R:10:1', 'test-tabular_saint.R:42:1',
'test-translate.R:24:1', 'test-translate.R:48:1', 'test-translate.R:75:1',
'test-translate.R:85:1', 'test-translate.R:118:1', 'test-translate.R:160:1',
'test-translate.R:174:1', 'test-translate.R:207:1', 'test-translate.R:224:1',
'test-translate.R:246:1', 'test-translate.R:266:1', 'test-translate.R:279:1',
'test-translate.R:309:1', 'test-translate.R:319:1', 'test-translate.R:329:1',
'test-translate.R:341:1', 'test-translate.R:352:1', 'test-tune_args.R:27:1',
'test-update.R:1:1', 'test-update.R:27:1'
• On Windows (1): 'test-boost_tree_xgboost.R:916:3'
• empty test (1):
• nrow(spark_installed_versions()) == 0 is TRUE (1): 'test-boost_tree.R:26:3'
• waiting for keras3 (4): 'test-linear_reg_keras.R:1:1',
'test-logistic_reg_keras.R:1:1', 'test-mlp_keras.R:1:1',
'test-multinom_reg_keras.R:1:1'
• {brulee} is not installed (2): 'test-mlp.R:35:3', 'test-tunable.R:2:3'
• {dbarts} is not installed (5): 'test-bart.R:14:3', 'test-bart.R:33:3',
'test-bart.R:71:3', 'test-bart.R:86:3', 'test-bart.R:112:3'
• {glmnet} is not installed (6): 'test-glmnet-engines.R:2:3',
'test-glmnet-engines.R:37:3', 'test-glmnet-engines.R:90:3',
'test-linear_reg.R:377:3', 'test-predict_formats.R:185:3',
'test-sparsevctrs.R:362:3'
• {nnet} is not installed (9): 'test-mlp_nnet.R:14:3', 'test-mlp_nnet.R:37:3',
'test-mlp_nnet.R:95:3', 'test-mlp_nnet.R:118:3', 'test-mlp_nnet.R:151:3',
'test-multinom_reg_nnet.R:24:3', 'test-multinom_reg_nnet.R:62:3',
'test-multinom_reg_nnet.R:82:3', 'test-multinom_reg_nnet.R:108:3'
• {quantreg} is not installed (2): 'test-linear_reg_quantreg.R:4:3',
'test-linear_reg_quantreg.R:58:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-svm_linear.R:204:3'): linear svm classification prediction: LiblineaR ──
Expected `liblinear_class` to equal `parsnip_class`.
Differences:
actual vs expected
.pred_class
actual[1, ] VF
actual[2, ] VF
- actual[3, ] F
+ expected[3, ] L
`actual$.pred_class`: "VF" "VF" "F "
`expected$.pred_class`: "VF" "VF" "L "
[ FAIL 1 | WARN 0 | SKIP 312 | PASS 980 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [5s] OK
- checking PDF version of manual ... [43s] OK
- checking HTML version of manual ... [63s] OK
- DONE
Status: 1 ERROR