Running ‘testthat.R’ [2m/12m]
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-linear_reg_quantreg-27.R
  Saving _problems/test-linear_reg_quantreg-46.R
  Saving _problems/test-linear_reg_quantreg-82.R
  Saving _problems/test-linear_reg_quantreg-83.R
  Saving _problems/test-linear_reg_quantreg-113.R
  Saving _problems/test-linear_reg_quantreg-114.R
  [ FAIL 6 | WARN 0 | SKIP 182 | PASS 806 ]
  
  ══ Skipped tests (182) ═════════════════════════════════════════════════════════
  • On CRAN (176): '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:109:1',
    'test-arguments.R:1:1', 'test-augment.R:1:1', 'test-augment.R:140: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:116:1', 'test-boost_tree_C5.0.R:162:1',
    'test-boost_tree_xgboost.R:33:3', 'test-boost_tree_xgboost.R:112:3',
    'test-boost_tree_xgboost.R:182:3', 'test-boost_tree_xgboost.R:208:3',
    'test-boost_tree_xgboost.R:244:3', 'test-boost_tree_xgboost.R:279:3',
    'test-boost_tree_xgboost.R:342:3', 'test-boost_tree_xgboost.R:368:3',
    'test-boost_tree_xgboost.R:422:3', 'test-boost_tree_xgboost.R:485:3',
    'test-boost_tree_xgboost.R:574:3', 'test-boost_tree_xgboost.R:646:3',
    'test-boost_tree_xgboost.R:688:3', 'test-boost_tree_xgboost.R:790:3',
    'test-boost_tree_xgboost.R:848:3', 'test-case-weights.R:105:1',
    'test-condense_control.R:1:1', 'test-convert_data.R:280:1',
    'test-convert_data.R:332:1', 'test-convert_data.R:363:1',
    'test-convert_data.R:644:1', 'test-convert_data.R:661: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:39:1', 'test-fit_interfaces.R:70:1',
    'test-fit_interfaces.R:86:1', 'test-fit_interfaces.R:122:1',
    'test-fit_interfaces.R:172:3', 'test-gen_additive_model.R:3:1',
    'test-gen_additive_model.R:47: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:376:1',
    'test-linear_reg.R:408:1', 'test-linear_reg_quantreg.R:59: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-mars.R:7:1',
    'test-mars.R:24:1', 'test-mars.R:155:1', 'test-mars.R:251: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:251:1', 'test-misc.R:304:1',
    'test-mlp.R:5:1', 'test-mlp.R:13:1', 'test-mlp.R:36:3', 'test-mlp.R:62:1',
    'test-mlp.R:96:1', 'test-mlp_nnet.R:13:1', 'test-model_basics.R:1: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-nearest_neighbor.R:1:1', 'test-nearest_neighbor.R:9:1',
    'test-nearest_neighbor.R:13:1', 'test-nearest_neighbor_kknn.R:17:1',
    'test-nearest_neighbor_kknn.R:199:1', 'test-nullmodel.R:5:1',
    'test-nullmodel.R:27:1', 'test-nullmodel.R:134: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:148:1', 'test-predict_formats.R:172:1',
    'test-predict_formats.R:202:3', 'test-print.R:1:1', 'test-print.R:9: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:476:1',
    'test-rand_forest_ranger.R:548: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:285:1', 'test-registration.R:416:1',
    'test-registration.R:552: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:292:3',
    'test-sparsevctrs.R:340:1', 'test-sparsevctrs.R:368:1',
    'test-standalone-survival.R:1:1', 'test-svm_linear.R:7:1',
    'test-svm_linear.R:15:1', 'test-svm_linear.R:160:1', 'test-svm_poly.R:6:1',
    'test-svm_poly.R:14:1', 'test-svm_rbf.R:7:1', 'test-svm_rbf.R:15:1',
    'test-svm_rbf.R:23: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:259:1',
    'test-translate.R:289:1', 'test-translate.R:299:1', 'test-translate.R:309:1',
    'test-translate.R:321:1', 'test-translate.R:332:1', 'test-update.R:1:1',
    'test-update.R:27:1'
  • 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'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-linear_reg_quantreg.R:27:3'): linear quantile regression via quantreg - single quantile ──
  Expected `class(one_quant_pred$.pred_quantile[[1]])` to be identical to "numeric".
  Differences:
  `actual`:   "quantile_pred" "vctrs_rcrd" "vctrs_vctr"
  `expected`: "numeric"                                
  
  ── Failure ('test-linear_reg_quantreg.R:46:3'): linear quantile regression via quantreg - single quantile ──
  Expected `class(one_quant_one_row$.pred_quantile[[1]])` to be identical to "numeric".
  Differences:
  `actual`:   "quantile_pred" "vctrs_rcrd" "vctrs_vctr"
  `expected`: "numeric"                                
  
  ── Failure ('test-linear_reg_quantreg.R:82:3'): linear quantile regression via quantreg - multiple quantiles ──
  Expected `class(ten_quant_pred$.pred_quantile[[1]])` to be identical to "numeric".
  Differences:
  `actual`:   "quantile_pred" "vctrs_rcrd" "vctrs_vctr"
  `expected`: "numeric"                                
  
  ── Failure ('test-linear_reg_quantreg.R:83:3'): linear quantile regression via quantreg - multiple quantiles ──
  Expected `length(ten_quant_pred$.pred_quantile[[1]]) == 10L` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-linear_reg_quantreg.R:113:3'): linear quantile regression via quantreg - multiple quantiles ──
  Expected `class(ten_quant_one_row$.pred_quantile[[1]])` to be identical to "numeric".
  Differences:
  `actual`:   "quantile_pred" "vctrs_rcrd" "vctrs_vctr"
  `expected`: "numeric"                                
  
  ── Failure ('test-linear_reg_quantreg.R:114:3'): linear quantile regression via quantreg - multiple quantiles ──
  Expected `length(ten_quant_one_row$.pred_quantile[[1]]) == 10L` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 6 | WARN 0 | SKIP 182 | PASS 806 ]
  Deleting unused snapshots: 'surv_reg.md', 'surv_reg_flexsurv.md', and
  'surv_reg_survreg.md'
  Error:
  ! Test failures.
  Execution halted