Running ‘testthat.R’ [39s/41s]
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 functionality (@test_integer.R#40)  ───────────────────────
  te_int$x not equal to `exp_x`.
  3/5 mismatches (average diff: 2)
  [2] 4 - 1 ==  3
  [3] 1 - 2 == -1
  [4] 5 - 3 ==  2
  
  ── 2. Failure: basic functionality (@test_integer.R#41)  ───────────────────────
  te_int$y not equal to `exp_y`.
  3/5 mismatches (average diff: 2.33)
  [2] 1 - 3 == -2
  [3] 0 - 3 == -3
  [4] 1 - 3 == -2
  
  ── 3. Failure: basic functionality (@test_integer.R#42)  ───────────────────────
  te_int$z not equal to `exp_z`.
  2/5 mismatches (average diff: 3)
  [1] 9 - 11 == -2
  [4] 2 -  6 == -4
  
  ── 4. Failure: zero-based (@test_integer.R#60)  ────────────────────────────────
  te_int$x not equal to `exp_x`.
  4/5 mismatches (average diff: 1.75)
  [2] 3 - 0 ==  3
  [3] 0 - 1 == -1
  [4] 4 - 2 ==  2
  [5] 5 - 4 ==  1
  
  ── 5. Failure: zero-based (@test_integer.R#61)  ────────────────────────────────
  te_int$y not equal to `exp_y`.
  4/5 mismatches (average diff: 1.75)
  [2] 0 - 2 == -2
  [3] 4 - 2 ==  2
  [4] 0 - 2 == -2
  [5] 4 - 5 == -1
  
  ── 6. Failure: zero-based (@test_integer.R#62)  ────────────────────────────────
  te_int$z not equal to `exp_z`.
  2/5 mismatches (average diff: 3)
  [1] 8 - 10 == -2
  [4] 1 -  5 == -4
  
  ── 7. Failure: low threshold - no removals (@test_other.R#109)  ────────────────
  okc_te$location not equal to as.character(others_te$location).
  1/200 mismatches
  x[122]: "san luis obispo"
  y[122]: "another"
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 1122 SKIPPED: 4 FAILED: 7
  1. Failure: basic functionality (@test_integer.R#40) 
  2. Failure: basic functionality (@test_integer.R#41) 
  3. Failure: basic functionality (@test_integer.R#42) 
  4. Failure: zero-based (@test_integer.R#60) 
  5. Failure: zero-based (@test_integer.R#61) 
  6. Failure: zero-based (@test_integer.R#62) 
  7. Failure: low threshold - no removals (@test_other.R#109) 
  
  Error: testthat unit tests failed
  Execution halted