Running 'spelling.R' [0s/1s]
  Running 'testthat.R' [52s/61s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > 
  > suppressPackageStartupMessages(library(finetune))
  > 
  > # CRAN wants packages to be able to be check without the Suggests dependencies
  > if (rlang::is_installed(c("modeldata", "lme4", "testthat"))) {
  +   suppressPackageStartupMessages(library(testthat))
  +   test_check("finetune")
  + }
  Loading required package: scales
  
  Attaching package: 'scales'
  
  The following object is masked from 'package:purrr':
  
      discard
  
  
  Attaching package: 'dials'
  
  The following object is masked from 'package:rpart':
  
      prune
  
  [ FAIL 2 | WARN 0 | SKIP 17 | PASS 109 ]
  
  == Skipped tests ===============================================================
  * On CRAN (17)
  
  == Failed tests ================================================================
  -- Failure ('test-anova-filter.R:55'): anova filtering and logging -------------
  `{ ... }` threw an unexpected error.
  Message: Object of class `control_race` cannot be coerced to object of class `control_grid`.
  * The following arguments are missing:
  * 'backend_options'
  Class:   rlang_error/error/condition
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-anova-filter.R:55:2
    2. | \-testthat:::expect_condition_matching(...)
    3. |   \-testthat:::quasi_capture(...)
    4. |     +-testthat (local) .capture(...)
    5. |     | \-base::withCallingHandlers(...)
    6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. +-spec %>% tune_race_anova(mpg ~ ., folds, grid = grid) at test-anova-filter.R:57:4
    8. +-finetune::tune_race_anova(., mpg ~ ., folds, grid = grid)
    9. +-finetune:::tune_race_anova.model_spec(., mpg ~ ., folds, grid = grid)
   10. | \-finetune:::tune_race_anova_workflow(...)
   11. |   \-object %>% ...
   12. +-tune::tune_grid(...)
   13. \-tune:::tune_grid.workflow(...)
   14.   \-parsnip::condense_control(control, control_grid())
   15.     \-rlang::abort(...)
  -- Error ('test-anova-filter.R:61'): anova filtering and logging ---------------
  Error in `inherits(anova_mod, "tune_race")`: object 'anova_mod' not found
  Backtrace:
      x
   1. +-testthat::expect_true(inherits(anova_mod, "tune_race")) at test-anova-filter.R:61:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-base::inherits(anova_mod, "tune_race")
  
  [ FAIL 2 | WARN 0 | SKIP 17 | PASS 109 ]
  Error: Test failures
  Execution halted