Running ‘testthat.R’ [48s/63s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(recipes)
  Loading required package: dplyr
  
  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: 'recipes'
  
  The following object is masked from 'package:stats':
  
      step
  
  > 
  > test_check(package = "recipes")
  ── 1. Failure: basic usage (@test_downsample.R#44)  ────────────────────────────
  `prep(rec1, training = iris2)` generated warnings:
  * All elements of `...` must be named.
  Did you want `data = c(type, role, source)`?
  
  ── 2. Failure: new levels (@test_dummies.R#193)  ───────────────────────────────
  `rec <- prep(rec, training = training, retain = TRUE)` produced warnings.
  
  ── 3. Failure: missing columns (@test_interact.R#185)  ─────────────────────────
  `prep(with_selectors, dat_tr)` generated warnings:
  * All elements of `...` must be named.
  Did you want `data = c(type, role, source)`?
  * All elements of `...` must be named.
  Did you want `data = c(type, role, source)`?
  * All elements of `...` must be named.
  Did you want `data = c(type, role, source)`?
  
  ── 4. Failure: in recipe (@test_range_check.R#38)  ─────────────────────────────
  `bake(rec1, test)` generated warnings:
  * All elements of `...` must be named.
  Did you want `data = c(type, role, source)`?
  
  ── 5. Failure: works with all_predictors() selector (@test_relu.R#66)  ─────────
  `prepped_rec <- prep(rec, iris)` produced warnings.
  
  ── 6. Failure: basic usage (@test_upsample.R#42)  ──────────────────────────────
  `prep(rec1, training = iris2)` generated warnings:
  * All elements of `...` must be named.
  Did you want `data = c(type, role, source)`?
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 1203 | SKIPPED: 4 | WARNINGS: 719 | FAILED: 6 ]
  1. Failure: basic usage (@test_downsample.R#44) 
  2. Failure: new levels (@test_dummies.R#193) 
  3. Failure: missing columns (@test_interact.R#185) 
  4. Failure: in recipe (@test_range_check.R#38) 
  5. Failure: works with all_predictors() selector (@test_relu.R#66) 
  6. Failure: basic usage (@test_upsample.R#42) 
  
  Error: testthat unit tests failed
  Execution halted