Running ‘testthat.R’ [21s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidypredict)
  > 
  > test_check("tidypredict")
  [00:53:24] WARNING: amalgamation/../src/learner.cc:480: 
  Parameters: { silent } might not be used.
  
    This may not be accurate due to some parameters are only used in language bindings but
    passed down to XGBoost core.  Or some parameters are not used but slip through this
    verification. Please open an issue if you find above cases.
  
  
  [00:53:24] WARNING: amalgamation/../src/objective/regression_obj.cu:170: reg:linear is now deprecated in favor of reg:squarederror.
  [00:53:24] WARNING: amalgamation/../src/learner.cc:480: 
  Parameters: { silent } might not be used.
  
    This may not be accurate due to some parameters are only used in language bindings but
    passed down to XGBoost core.  Or some parameters are not used but slip through this
    verification. Please open an issue if you find above cases.
  
  
  [00:53:24] WARNING: amalgamation/../src/learner.cc:480: 
  Parameters: { silent } might not be used.
  
    This may not be accurate due to some parameters are only used in language bindings but
    passed down to XGBoost core.  Or some parameters are not used but slip through this
    verification. Please open an issue if you find above cases.
  
  
  [00:53:24] WARNING: amalgamation/../src/learner.cc:480: 
  Parameters: { silent } might not be used.
  
    This may not be accurate due to some parameters are only used in language bindings but
    passed down to XGBoost core.  Or some parameters are not used but slip through this
    verification. Please open an issue if you find above cases.
  
  
  [00:53:24] WARNING: amalgamation/../src/learner.cc:480: 
  Parameters: { silent } might not be used.
  
    This may not be accurate due to some parameters are only used in language bindings but
    passed down to XGBoost core.  Or some parameters are not used but slip through this
    verification. Please open an issue if you find above cases.
  
  
  [00:53:24] WARNING: amalgamation/../src/learner.cc:480: 
  Parameters: { silent } might not be used.
  
    This may not be accurate due to some parameters are only used in language bindings but
    passed down to XGBoost core.  Or some parameters are not used but slip through this
    verification. Please open an issue if you find above cases.
  
  
  ── 1. Error: Predictions are correct for different objectives (@test_xgboost.R#4
  Only objectives 'binary:logistic', 'reg:linear', 'reg:logistic', 'binary:logitraw' are supported yet.
  Backtrace:
    1. testthat::expect_false(tidypredict_test(m, df = mtcars)$alert)
    5. tidypredict:::tidypredict_test._xgb.Booster(m, df = mtcars)
    6. tidypredict:::xgb_booster(...)
    7. tidypredict::tidypredict_to_column(...)
    9. tidypredict:::tidypredict_fit._xgb.Booster(model)
   11. tidypredict:::tidypredict_fit.xgb.Booster(model$fit)
   12. tidypredict:::build_fit_formula_xgb(parsedmodel)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 105 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: Predictions are correct for different objectives (@test_xgboost.R#48) 
  
  Error: testthat unit tests failed
  Execution halted