Running ‘spelling.R’
  Running ‘testthat.R’ [87s/106s]
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 7 | WARN 2 | SKIP 21 | PASS 148 ]
  
  ══ 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 ════════════════════════════════════════════════════════════════
  ── Failure ('test-anova-filter.R:50:3'): anova filtering and logging ───────────
  anova_res$lower (`actual`) not equal to unname(rmse_ci[, 1]) (`expected`).
  
    `actual`: -0.89 -0.82 -0.77 -0.76 -0.76 -0.73 -0.60
  `expected`: -0.24 -0.16 -0.12 -0.11 -0.11 -0.08  0.06
  ── Failure ('test-anova-filter.R:51:3'): anova filtering and logging ───────────
  anova_res$upper (`actual`) not equal to unname(rmse_ci[, 2]) (`expected`).
  
    `actual`: 0.91 0.99 1.03 1.04 1.04 1.08 1.21
  `expected`: 0.26 0.34 0.38 0.39 0.39 0.42 0.56
  ── Failure ('test-race-s3.R:33:3'): racing S3 methods ──────────────────────────
  nrow(collect_metrics(anova_race)) (`actual`) not equal to 2 (`expected`).
  
    `actual`: 6.0
  `expected`: 2.0
  ── Failure ('test-race-s3.R:35:3'): racing S3 methods ──────────────────────────
  nrow(collect_metrics(anova_race, summarize = FALSE)) (`actual`) not equal to 2 * 20 (`expected`).
  
    `actual`: 120.0
  `expected`:  40.0
  ── Failure ('test-race-s3.R:44:3'): racing S3 methods ──────────────────────────
  nrow(collect_predictions(anova_race, all_configs = FALSE, summarize = TRUE)) (`actual`) not equal to nrow(mtcars) * 1 (`expected`).
  
    `actual`: 96.0
  `expected`: 32.0
  ── Failure ('test-race-s3.R:52:3'): racing S3 methods ──────────────────────────
  nrow(collect_predictions(anova_race, all_configs = FALSE, summarize = FALSE)) (`actual`) not equal to nrow(mtcars) * 1 * 2 (`expected`).
  
    `actual`: 192.0
  `expected`:  64.0
  ── Failure ('test-race-s3.R:64:3'): racing S3 methods ──────────────────────────
  nrow(show_best(anova_race, metric = "rmse")) (`actual`) not equal to 1 (`expected`).
  
    `actual`: 3.0
  `expected`: 1.0
  
  [ FAIL 7 | WARN 2 | SKIP 21 | PASS 148 ]
  Error: Test failures
  Execution halted