Running ‘testthat.R’ [35s/107s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidypredict)
  > 
  > test_check("tidypredict")
  ── 1. Error: first degree earth model with different interfaces (@test-earth.R#9
  argument is of length zero
  Backtrace:
    1. rlang::eval_tidy(tidypredict_fit(xy_mod_1), iris[, -1])
    3. tidypredict:::tidypredict_fit.earth(xy_mod_1)
    5. tidypredict:::parse_model.earth(model)
    6. purrr::map(...)
    7. tidypredict:::.f(.x[[i]], ...)
    8. tidypredict:::get_fields(.x, model)
    9. purrr::map(...)
   10. tidypredict:::.f(.x[[i]], ...)
  
  ── 2. Error: 2nd degree earth model with different interfaces (@test-earth.R#103
  argument is of length zero
  Backtrace:
    1. rlang::eval_tidy(tidypredict_fit(xy_mod_2), iris[, -1])
    3. tidypredict:::tidypredict_fit.earth(xy_mod_2)
    5. tidypredict:::parse_model.earth(model)
    6. purrr::map(...)
    7. tidypredict:::.f(.x[[i]], ...)
    8. tidypredict:::get_fields(.x, model)
    9. purrr::map(...)
   10. tidypredict:::.f(.x[[i]], ...)
  
  OMP: Warning #96: Cannot form a team with 24 threads, using 2 instead.
  OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  [03:30:57] WARNING: amalgamation/../src/learner.cc:516: 
  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.
  
  
  [03:30:57] WARNING: amalgamation/../src/learner.cc:516: 
  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.
  
  
  [03:30:57] WARNING: amalgamation/../src/learner.cc:516: 
  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.
  
  
  [03:30:58] WARNING: amalgamation/../src/learner.cc:516: 
  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.
  
  
  [03:30:58] WARNING: amalgamation/../src/learner.cc:516: 
  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.
  
  
  [03:30:58] WARNING: amalgamation/../src/learner.cc:516: 
  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.
  
  
  [03:31:06] WARNING: amalgamation/../src/learner.cc:516: 
  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.
  
  
  [03:31:06] WARNING: amalgamation/../src/learner.cc:516: 
  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.
  
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 110 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 2 ]
  1. Error: first degree earth model with different interfaces (@test-earth.R#90) 
  2. Error: 2nd degree earth model with different interfaces (@test-earth.R#103) 
  
  Error: testthat unit tests failed
  Execution halted