Running ‘spelling.R’
  Running ‘testthat.R’ [91s/195s]
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")
  + }
  Saving _problems/test-anova-filter-64.R
  Saving _problems/test-condense_control-5.R
  Saving _problems/test-condense_control-17.R
  Saving _problems/test-race-control-37.R
  Saving _problems/test-race-s3-30.R
  Saving _problems/test-sa-control-53.R
  [ FAIL 6 | WARN 827 | SKIP 19 | PASS 114 ]
  
  ══ Skipped tests (19) ══════════════════════════════════════════════════════════
  • On CRAN (19): 'test-anova-overall.R:2:3', 'test-anova-overall.R:28:3',
    'test-anova-overall.R:51:3', 'test-anova-overall.R:74:1',
    'test-race-control.R:15:1', 'test-sa-control.R:20:1', 'test-sa-misc.R:4:3',
    'test-sa-misc.R:78:1', 'test-sa-overall.R:2:3', 'test-sa-overall.R:25:3',
    'test-sa-overall.R:50:3', 'test-sa-overall.R:108:3',
    'test-sa-overall.R:147:3', 'test-sa-overall.R:202:3',
    'test-win-loss-filter.R:2:3', 'test-win-loss-overall.R:2:3',
    'test-win-loss-overall.R:25:3', 'test-win-loss-overall.R:46:3',
    'test-win-loss-overall.R:67:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-anova-filter.R:61:3'): anova filtering and logging ─────────────
  Error in `tune_race_anova_workflow(wflow, resamples = resamples, grid = grid, metrics = metrics, eval_time = eval_time, param_info = param_info, control = control)`: a <control_race> object cannot be coerced to a <control_grid> object.
  i The argument `workflow_size` is missing.
  Backtrace:
      ▆
   1. ├─finetune::tune_race_anova(spec, mpg ~ ., folds, grid = grid)
   2. └─finetune:::tune_race_anova.model_spec(spec, mpg ~ ., folds, grid = grid)
   3.   └─finetune:::tune_race_anova_workflow(...)
   4.     └─parsnip::condense_control(control, tune::control_grid())
   5.       └─cli::cli_abort(...)
   6.         └─rlang::abort(...)
  ── Error ('test-condense_control.R:2:3'): control_race works with condense_control ──
  Error in `eval(code, test_env)`: a <control_race> object cannot be coerced to a <control_grid> object.
  i The argument `workflow_size` is missing.
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-condense_control.R:2:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─parsnip::condense_control(control_race(), control_grid())
   5.   └─cli::cli_abort(...)
   6.     └─rlang::abort(...)
  ── Error ('test-condense_control.R:14:3'): control_sim_anneal works with condense_control ──
  Error in `eval(code, test_env)`: a <control_sim_anneal> object cannot be coerced to a <control_grid> object.
  i The argument `workflow_size` is missing.
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-condense_control.R:14:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─parsnip::condense_control(control_sim_anneal(), control_grid())
   5.   └─cli::cli_abort(...)
   6.     └─rlang::abort(...)
  ── Error ('test-race-control.R:37:3'): casting control_race to control_grid ────
  Error in `eval(code, test_env)`: a <control_race> object cannot be coerced to a <control_grid> object.
  i The argument `workflow_size` is missing.
  Backtrace:
      ▆
   1. └─parsnip::condense_control(control_race(), control_grid())
   2.   └─cli::cli_abort(...)
   3.     └─rlang::abort(...)
  ── Error ('test-race-s3.R:23:3'): racing S3 methods ────────────────────────────
  Error in `tune_race_anova_workflow(wflow, resamples = resamples, grid = grid, metrics = metrics, eval_time = eval_time, param_info = param_info, control = control)`: a <control_race> object cannot be coerced to a <control_grid> object.
  i The argument `workflow_size` is missing.
  Backtrace:
      ▆
   1. ├─finetune::tune_race_anova(...) at test-race-s3.R:23:3
   2. └─finetune:::tune_race_anova.model_spec(...)
   3.   └─finetune:::tune_race_anova_workflow(...)
   4.     └─parsnip::condense_control(control, tune::control_grid())
   5.       └─cli::cli_abort(...)
   6.         └─rlang::abort(...)
  ── Error ('test-sa-control.R:50:3'): casting control_sim_anneal to control_grid ──
  Error in `eval(code, test_env)`: a <control_sim_anneal> object cannot be coerced to a <control_grid> object.
  i The argument `workflow_size` is missing.
  Backtrace:
      ▆
   1. └─parsnip::condense_control(control_sim_anneal(), control_grid())
   2.   └─cli::cli_abort(...)
   3.     └─rlang::abort(...)
  
  [ FAIL 6 | WARN 827 | SKIP 19 | PASS 114 ]
  Error:
  ! Test failures.
  Execution halted