Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(parsnip)
  > 
  > test_check("parsnip")
  [12:09:05] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
  [12:09:06] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
  [12:09:06] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
  [12:09:06] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
  [12:09:10] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'binary:logistic' was changed from 'error' to 'logloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
  [12:09:14] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
  [12:09:15] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
  [1]	training-auc:0.971816 
  [2]	training-auc:0.986139 
  [3]	training-auc:0.989558 
  [4]	training-auc:0.992312 
  [5]	training-auc:0.994991 
  [6]	training-auc:0.995823 
  [7]	training-auc:0.996544 
  [8]	training-auc:0.996359 
  [9]	training-auc:0.996507 
  [10]	training-auc:0.997450 
  [1]	training-auc:0.971816 
  [2]	training-auc:0.986139 
  [3]	training-auc:0.989558 
  [4]	training-auc:0.992312 
  [5]	training-auc:0.994991 
  [6]	training-auc:0.995823 
  [7]	training-auc:0.996544 
  [8]	training-auc:0.996359 
  [9]	training-auc:0.996507 
  [10]	training-auc:0.997450 
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (14)
  • kknn cannot be loaded (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_nearest_neighbor_kknn.R:210:3): argument checks for data dimensions ──
  Error: This engine requires some package installs: 'kknn'
  Backtrace:
      █
   1. ├─testthat::expect_warning(...) test_nearest_neighbor_kknn.R:210:2
   2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
   3. │   ├─testthat:::.capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. ├─spec %>% fit(body_mass_g ~ ., data = penguins)
   7. ├─generics::fit(., body_mass_g ~ ., data = penguins)
   8. └─parsnip::fit.model_spec(., body_mass_g ~ ., data = penguins)
   9.   └─parsnip:::check_installs(object)
  
  [ FAIL 1 | WARN 0 | SKIP 17 | PASS 1098 ]
  Error: Test failures
  Execution halted