Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [36s/55s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(workflowsets)
  > 
  > test_check("workflowsets")
  
  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
  
  
  Attaching package: 'rsample'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  
  Attaching package: 'recipes'
  
  The following object is masked from 'package:stats':
  
      step
  
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Bootstrap3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold4: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold5: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold4: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold5: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold4: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold5: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold1: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold2: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  x Fold3: preprocessor 1/1, model 1/1: Error: `x` cannot be a vector.
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (5)
  • rlang::is_installed("rlang") is TRUE (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-workflow-map.R:44:4): basic mapping ─────────────────────────────
  <dplyr:::mutate_error/dplyr_error/rlang_error/error/condition>
  Error: Problem with `mutate()` column `metrics`.
  i `metrics = purrr::map(result, collect_metrics, summarize = summarize)`.
  x All of the models failed. See the .notes column.
  Backtrace:
       █
    1. ├─testthat::expect_equal(collect_metrics(res_1), collect_metrics(res_2)) test-workflow-map.R:44:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─tune::collect_metrics(res_1)
    5. ├─workflowsets:::collect_metrics.workflow_set(res_1)
    6. │ ├─dplyr::mutate(...)
    7. │ └─dplyr:::mutate.data.frame(...)
    8. │   └─dplyr:::mutate_cols(.data, ..., caller_env = caller_env())
    9. │     ├─base::withCallingHandlers(...)
   10. │     └─mask$eval_all_mutate(quo)
   11. └─purrr::map(result, collect_metrics, summarize = summarize)
   12.   ├─tune:::.f(.x[[i]], ...)
   13.   └─tune:::collect_metrics.tune_results(.x[[i]], ...)
   14.     └─tune::estimate_tune_results(x)
  
  [ FAIL 1 | WARN 30 | SKIP 6 | PASS 326 ]
  Error: Test failures
  Execution halted