Running 'testthat.R' [20s/21s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(tidypredict)
  > 
  > test_check("tidypredict")
  -- 1. Error: Tests with parsnip returns no alert (@test-earth.R#119)  ----------
  formula_ is unknown
  1: expect_false(tidypredict_test(parsnip::fit(parsnip::set_engine(parsnip::mars(), "earth"), 
         survived ~ age + sibsp, data = etitanic), df = etitanic)$alert) at testthat/test-earth.R:119
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: tidypredict_test(parsnip::fit(parsnip::set_engine(parsnip::mars(), "earth"), survived ~ 
         age + sibsp, data = etitanic), df = etitanic)
  5: parsnip::fit(parsnip::set_engine(parsnip::mars(), "earth"), survived ~ age + sibsp, 
         data = etitanic)
  6: fit.model_spec(parsnip::set_engine(parsnip::mars(), "earth"), survived ~ age + sibsp, 
         data = etitanic)
  7: stop(interfaces, " is unknown")
  
  -- 2. Error: (unknown) (@test-ranger.R#35)  ------------------------------------
  formula_ is unknown
  1: run_test(parsnip::fit(parsnip::set_engine(parsnip::rand_forest(trees = num_trees), 
         "ranger", seed = 100, num.threads = 2), Species ~ ., data = iris)) at testthat/test-ranger.R:35
  2: tidypredict_fit(model) at testthat/test-ranger.R:4
  3: parsnip::fit(parsnip::set_engine(parsnip::rand_forest(trees = num_trees), "ranger", 
         seed = 100, num.threads = 2), Species ~ ., data = iris)
  4: fit.model_spec(parsnip::set_engine(parsnip::rand_forest(trees = num_trees), "ranger", 
         seed = 100, num.threads = 2), Species ~ ., data = iris)
  5: stop(interfaces, " is unknown")
  
  -- 3. Error: Predictions are correct for different objectives (@test_xgboost.R#4
  formula_ is unknown
  1: parsnip::fit(parsnip::set_engine(parsnip::boost_tree(), "xgboost"), am ~ ., data = mtcars) at testthat/test_xgboost.R:47
  2: fit.model_spec(parsnip::set_engine(parsnip::boost_tree(), "xgboost"), am ~ ., data = mtcars)
  3: stop(interfaces, " is unknown")
  
  == testthat results  ===========================================================
  [ OK: 94 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: Tests with parsnip returns no alert (@test-earth.R#119) 
  2. Error: (unknown) (@test-ranger.R#35) 
  3. Error: Predictions are correct for different objectives (@test_xgboost.R#47) 
  
  Error: testthat unit tests failed
  Execution halted