Running ‘spelling.R’
  Running ‘testthat.R’ [67s/175s]
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")
  + }
  [ FAIL 1 | WARN 0 | SKIP 21 | PASS 142 ]
  
  ══ Skipped tests (21) ══════════════════════════════════════════════════════════
  • On CRAN (21): 'test-anova-filter.R:132:3', 'test-anova-overall.R:3:3',
    'test-anova-overall.R:25:3', 'test-anova-overall.R:44:3',
    'test-anova-overall.R:69:3', 'test-race-control.R:17:3',
    'test-race-control.R:38:3', 'test-sa-control.R:19:3',
    'test-sa-control.R:48:3', 'test-sa-misc.R:5:3', 'test-sa-overall.R:2:3',
    'test-sa-overall.R:21:3', 'test-sa-overall.R:42:3', 'test-sa-overall.R:92:3',
    'test-sa-overall.R:131:3', 'test-sa-overall.R:186:3',
    'test-win-loss-filter.R:2:3', 'test-win-loss-overall.R:3:3',
    'test-win-loss-overall.R:22:3', 'test-win-loss-overall.R:39:3',
    'test-win-loss-overall.R:56:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-race-s3.R:23:3'): racing S3 methods ────────────────────────────
  Error in `tune::tune_grid(., tmp_resamples, param_info = param_info, grid = grid, 
      metrics = metrics, eval_time = eval_time, control = grid_control)`: Package install is required for kknn.
  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. │   └─object %>% ...
    5. ├─tune::tune_grid(...)
    6. └─tune:::tune_grid.workflow(...)
    7.   └─tune:::tune_grid_workflow(...)
    8.     └─tune::check_workflow(workflow, pset = pset, call = call)
    9.       └─tune:::check_installs(hardhat::extract_spec_parsnip(x), call = call)
   10.         └─cli::cli_abort(...)
   11.           └─rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 21 | PASS 142 ]
  Error: Test failures
  Execution halted