Running ‘helpers.R’
  Running ‘spelling.R’
  Running ‘testthat.R’ [28s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(finetune)
  Loading required package: tune
  > 
  > test_check("finetune")
  
  Attaching package: 'rsample'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Loading required package: Matrix
  For binary classification, the first factor level is assumed to be the event.
  Use the argument `event_level = "second"` to alter this as needed.
  x Fold1, Repeat1: preprocessor 1/1, model 1/8: Error: `x` cannot be a vector.
  x Fold1, Repeat1: preprocessor 1/1, model 2/8: Error: `x` cannot be a vector.
  x Fold1, Repeat1: preprocessor 1/1, model 3/8: Error: `x` cannot be a vector.
  x Fold1, Repeat1: preprocessor 1/1, model 4/8: Error: `x` cannot be a vector.
  x Fold1, Repeat1: preprocessor 1/1, model 5/8: Error: `x` cannot be a vector.
  x Fold1, Repeat1: preprocessor 1/1, model 6/8: Error: `x` cannot be a vector.
  x Fold1, Repeat1: preprocessor 1/1, model 7/8: Error: `x` cannot be a vector.
  x Fold1, Repeat1: preprocessor 1/1, model 8/8: Error: `x` cannot be a vector.
  x Fold2, Repeat1: preprocessor 1/1, model 1/8: Error: `x` cannot be a vector.
  x Fold2, Repeat1: preprocessor 1/1, model 2/8: Error: `x` cannot be a vector.
  x Fold2, Repeat1: preprocessor 1/1, model 3/8: Error: `x` cannot be a vector.
  x Fold2, Repeat1: preprocessor 1/1, model 4/8: Error: `x` cannot be a vector.
  x Fold2, Repeat1: preprocessor 1/1, model 5/8: Error: `x` cannot be a vector.
  x Fold2, Repeat1: preprocessor 1/1, model 6/8: Error: `x` cannot be a vector.
  x Fold2, Repeat1: preprocessor 1/1, model 7/8: Error: `x` cannot be a vector.
  x Fold2, Repeat1: preprocessor 1/1, model 8/8: Error: `x` cannot be a vector.
  x Fold3, Repeat1: preprocessor 1/1, model 1/8: Error: `x` cannot be a vector.
  x Fold3, Repeat1: preprocessor 1/1, model 2/8: Error: `x` cannot be a vector.
  x Fold3, Repeat1: preprocessor 1/1, model 3/8: Error: `x` cannot be a vector.
  x Fold3, Repeat1: preprocessor 1/1, model 4/8: Error: `x` cannot be a vector.
  x Fold3, Repeat1: preprocessor 1/1, model 5/8: Error: `x` cannot be a vector.
  x Fold3, Repeat1: preprocessor 1/1, model 6/8: Error: `x` cannot be a vector.
  x Fold3, Repeat1: preprocessor 1/1, model 7/8: Error: `x` cannot be a vector.
  x Fold3, Repeat1: preprocessor 1/1, model 8/8: Error: `x` cannot be a vector.
  x Fold4, Repeat1: preprocessor 1/1, model 1/8: Error: `x` cannot be a vector.
  x Fold4, Repeat1: preprocessor 1/1, model 2/8: Error: `x` cannot be a vector.
  x Fold4, Repeat1: preprocessor 1/1, model 3/8: Error: `x` cannot be a vector.
  x Fold4, Repeat1: preprocessor 1/1, model 4/8: Error: `x` cannot be a vector.
  x Fold4, Repeat1: preprocessor 1/1, model 5/8: Error: `x` cannot be a vector.
  x Fold4, Repeat1: preprocessor 1/1, model 6/8: Error: `x` cannot be a vector.
  x Fold4, Repeat1: preprocessor 1/1, model 7/8: Error: `x` cannot be a vector.
  x Fold4, Repeat1: preprocessor 1/1, model 8/8: Error: `x` cannot be a vector.
  x Fold5, Repeat1: preprocessor 1/1, model 1/8: Error: `x` cannot be a vector.
  x Fold5, Repeat1: preprocessor 1/1, model 2/8: Error: `x` cannot be a vector.
  x Fold5, Repeat1: preprocessor 1/1, model 3/8: Error: `x` cannot be a vector.
  x Fold5, Repeat1: preprocessor 1/1, model 4/8: Error: `x` cannot be a vector.
  x Fold5, Repeat1: preprocessor 1/1, model 5/8: Error: `x` cannot be a vector.
  x Fold5, Repeat1: preprocessor 1/1, model 6/8: Error: `x` cannot be a vector.
  x Fold5, Repeat1: preprocessor 1/1, model 7/8: Error: `x` cannot be a vector.
  x Fold5, Repeat1: preprocessor 1/1, model 8/8: Error: `x` cannot be a vector.
  x Fold1, Repeat2: preprocessor 1/1, model 1/8: Error: `x` cannot be a vector.
  x Fold1, Repeat2: preprocessor 1/1, model 2/8: Error: `x` cannot be a vector.
  x Fold1, Repeat2: preprocessor 1/1, model 3/8: Error: `x` cannot be a vector.
  x Fold1, Repeat2: preprocessor 1/1, model 4/8: Error: `x` cannot be a vector.
  x Fold1, Repeat2: preprocessor 1/1, model 5/8: Error: `x` cannot be a vector.
  x Fold1, Repeat2: preprocessor 1/1, model 6/8: Error: `x` cannot be a vector.
  x Fold1, Repeat2: preprocessor 1/1, model 7/8: Error: `x` cannot be a vector.
  x Fold1, Repeat2: preprocessor 1/1, model 8/8: Error: `x` cannot be a vector.
  x Fold2, Repeat2: preprocessor 1/1, model 1/8: Error: `x` cannot be a vector.
  x Fold2, Repeat2: preprocessor 1/1, model 2/8: Error: `x` cannot be a vector.
  x Fold2, Repeat2: preprocessor 1/1, model 3/8: Error: `x` cannot be a vector.
  x Fold2, Repeat2: preprocessor 1/1, model 4/8: Error: `x` cannot be a vector.
  x Fold2, Repeat2: preprocessor 1/1, model 5/8: Error: `x` cannot be a vector.
  x Fold2, Repeat2: preprocessor 1/1, model 6/8: Error: `x` cannot be a vector.
  x Fold2, Repeat2: preprocessor 1/1, model 7/8: Error: `x` cannot be a vector.
  x Fold2, Repeat2: preprocessor 1/1, model 8/8: Error: `x` cannot be a vector.
  x Fold3, Repeat2: preprocessor 1/1, model 1/8: Error: `x` cannot be a vector.
  x Fold3, Repeat2: preprocessor 1/1, model 2/8: Error: `x` cannot be a vector.
  x Fold3, Repeat2: preprocessor 1/1, model 3/8: Error: `x` cannot be a vector.
  x Fold3, Repeat2: preprocessor 1/1, model 4/8: Error: `x` cannot be a vector.
  x Fold3, Repeat2: preprocessor 1/1, model 5/8: Error: `x` cannot be a vector.
  x Fold3, Repeat2: preprocessor 1/1, model 6/8: Error: `x` cannot be a vector.
  x Fold3, Repeat2: preprocessor 1/1, model 7/8: Error: `x` cannot be a vector.
  x Fold3, Repeat2: preprocessor 1/1, model 8/8: Error: `x` cannot be a vector.
  x Fold4, Repeat2: preprocessor 1/1, model 1/8: Error: `x` cannot be a vector.
  x Fold4, Repeat2: preprocessor 1/1, model 2/8: Error: `x` cannot be a vector.
  x Fold4, Repeat2: preprocessor 1/1, model 3/8: Error: `x` cannot be a vector.
  x Fold4, Repeat2: preprocessor 1/1, model 4/8: Error: `x` cannot be a vector.
  x Fold4, Repeat2: preprocessor 1/1, model 5/8: Error: `x` cannot be a vector.
  x Fold4, Repeat2: preprocessor 1/1, model 6/8: Error: `x` cannot be a vector.
  x Fold4, Repeat2: preprocessor 1/1, model 7/8: Error: `x` cannot be a vector.
  x Fold4, Repeat2: preprocessor 1/1, model 8/8: Error: `x` cannot be a vector.
  x Fold5, Repeat2: preprocessor 1/1, model 1/8: Error: `x` cannot be a vector.
  x Fold5, Repeat2: preprocessor 1/1, model 2/8: Error: `x` cannot be a vector.
  x Fold5, Repeat2: preprocessor 1/1, model 3/8: Error: `x` cannot be a vector.
  x Fold5, Repeat2: preprocessor 1/1, model 4/8: Error: `x` cannot be a vector.
  x Fold5, Repeat2: preprocessor 1/1, model 5/8: Error: `x` cannot be a vector.
  x Fold5, Repeat2: preprocessor 1/1, model 6/8: Error: `x` cannot be a vector.
  x Fold5, Repeat2: preprocessor 1/1, model 7/8: Error: `x` cannot be a vector.
  x Fold5, Repeat2: preprocessor 1/1, model 8/8: Error: `x` cannot be a vector.
  
  Attaching package: 'discrim'
  
  The following object is masked from 'package:dials':
  
      smoothness
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (15)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-anova-filter.R:23:1): (code run outside of `test_that()`) ───────
  Error: All of the models failed. See the .notes column.
  Backtrace:
      █
   1. ├─tune::collect_metrics(grid_res) test-anova-filter.R:23:0
   2. └─tune:::collect_metrics.tune_results(grid_res)
   3.   └─tune::estimate_tune_results(x)
  
  [ FAIL 1 | WARN 1 | SKIP 15 | PASS 149 ]
  Error: Test failures
  Execution halted