Running ‘testthat.R’ [131s/184s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(parsnip)
  > 
  > test_check("parsnip")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (14)
  ● flexsurv cannot be loaded (2)
  ● nnet cannot be loaded (8)
  ● xgboost cannot be loaded (11)
  
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test_boost_tree_C50.R:156:3): argument checks for data dimensions ──
  1000 samples were requested but there were 333 rows in the data. 333 will be used.
  Backtrace:
   1. spec %>% fit(species ~ ., data = penguins) test_boost_tree_C50.R:156:2
   9. parsnip::C5.0_train(...)
  ── Warning (test_boost_tree_C50.R:157:3): argument checks for data dimensions ──
  1000 samples were requested but there were 333 rows in the data. 333 will be used.
  Backtrace:
   1. spec %>% fit_xy(x = penguins[, -1], y = penguins$species) test_boost_tree_C50.R:157:2
   8. parsnip::C5.0_train(...)
  ── Warning (test_varying.R:8:1): (code run outside of `test_that()`) ───────────
  namespace 'recipes' is not available and has been replaced
  by .GlobalEnv when processing object 'rec_1'
  Backtrace:
   1. base::load(test_path("recipes_examples.RData")) test_varying.R:8:0
   2. base::..getNamespace(c("recipes", "0.1.3.9000"), "rec_1")
   3. base::tryCatch(...)
   4. base:::tryCatchList(expr, classes, parentenv, handlers)
   5. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   6. value[[3L]](cond)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_boost_tree_xgboost.R:382:3): argument checks for data dimensions ──
  Error: This engine requires some package installs: 'xgboost'
  Backtrace:
      █
   1. ├─spec %>% fit(species ~ ., data = penguins) test_boost_tree_xgboost.R:382:2
   2. ├─generics::fit(., species ~ ., data = penguins)
   3. └─parsnip::fit.model_spec(., species ~ ., data = penguins)
   4.   └─parsnip:::check_installs(object)
  
  [ FAIL 1 | WARN 3 | SKIP 35 | PASS 879 ]
  Error: Test failures
  Execution halted