Running ‘testthat.R’ [45s/58s]
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")
  step 1 center training 
  step 1 center training 
  step 1 regex training 
  step 2 regex training 
  step 3 bin2factor training 
  step 1 regex training 
  step 2 regex training 
  step 3 bin2factor training 
  step 1 regex training 
  step 2 regex training 
  step 3 bin2factor training 
  
  Attaching package: 'lubridate'
  
  The following object is masked from 'package:base':
  
      date
  
  step 1 date training 
  1. Error: default option (@test_date.R#20) -------------------------------------
  CCTZ: Unrecognized tzone: "GB"
  1: prep(date_rec, training = examples) at testthat/test_date.R:20
  2: prep.recipe(date_rec, training = examples)
  3: bake(x$steps[[i]], newdata = training)
  4: bake.step_date(x$steps[[i]], newdata = training)
  5: get_date_features(dt = getElement(newdata, object$columns[i]), feats = object$features, 
         abbr = object$abbr, label = object$label, ord = object$ordinal)
  6: decimal_date(dt)
  7: decimal_date.default(dt)
  8: make_datetime(Y, 1L, 1L, tz = tz(date))
  9: C_update_dt(.rep_maybe(origin, N), year = .rep_maybe(year, N), month = .rep_maybe(month, 
         N), yday = integer(), mday = .rep_maybe(day, N), wday = integer(), hour = .rep_maybe(hour, 
         N), minute = .rep_maybe(min, N), second = .rep_maybe(sec, N), tz = tz)
  
  step 1 date training 
  step 1 date training 
  2. Error: printing (@test_date.R#96) -------------------------------------------
  CCTZ: Unrecognized tzone: "GB"
  1: expect_output(prep(date_rec, training = examples)) at testthat/test_date.R:96
  2: capture_output(object)
  3: capture_output_as_vector(code, print)
  4: with_sink(temp, withVisible(code))
  5: withVisible(code)
  6: prep(date_rec, training = examples)
  7: prep.recipe(date_rec, training = examples)
  8: bake(x$steps[[i]], newdata = training)
  9: bake.step_date(x$steps[[i]], newdata = training)
  10: get_date_features(dt = getElement(newdata, object$columns[i]), feats = object$features, 
         abbr = object$abbr, label = object$label, ord = object$ordinal)
  11: decimal_date(dt)
  12: decimal_date.default(dt)
  13: make_datetime(Y, 1L, 1L, tz = tz(date))
  14: C_update_dt(.rep_maybe(origin, N), year = .rep_maybe(year, N), month = .rep_maybe(month, 
         N), yday = integer(), mday = .rep_maybe(day, N), wday = integer(), hour = .rep_maybe(hour, 
         N), minute = .rep_maybe(min, N), second = .rep_maybe(sec, N), tz = tz)
  
  Loading required package: MASS
  
  Attaching package: 'MASS'
  
  The following object is masked from 'package:dplyr':
  
      select
  
  Loading required package: class
  Loading required package: robustbase
  Loading required package: sfsmisc
  
  Attaching package: 'sfsmisc'
  
  The following object is masked from 'package:dplyr':
  
      last
  
  step 1 holiday training 
  step 1 holiday training 
  step 1 intercept training 
  step 1 lincomb training 
  step 1 lincomb training 
  step 1 center training 
  step 2 scale training 
  step 1 other training 
  step 1 other training 
  step 1 other training 
  step 1 other training 
  step 1 regex training 
  step 2 regex training 
  step 1 regex training 
  step 1 regex training 
  step 1 regex training 
  step 1 window training 
  step 1 window training 
  step 1 window training 
  step 1 window training 
  step 1 window training 
  
  Attaching package: 'tidyselect'
  
  The following objects are masked from 'package:dplyr':
  
      contains, ends_with, everything, matches, num_range, one_of,
      starts_with
  
  The following object is masked from 'package:testthat':
  
      matches
  
  
  Attaching package: 'rlang'
  
  The following object is masked from 'package:tibble':
  
      has_name
  
  The following objects are masked from 'package:testthat':
  
      is_false, is_null, is_true
  
  testthat results ================================================================
  OK: 537 SKIPPED: 2 FAILED: 2
  1. Error: default option (@test_date.R#20) 
  2. Error: printing (@test_date.R#96) 
  
  Error: testthat unit tests failed
  Execution halted