Running ‘testthat.R’ [118s/187s]
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("recipes")
  
  Attaching package: 'tidyselect'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  
  Attaching package: 'rlang'
  
  The following objects are masked from 'package:testthat':
  
      is_false, is_null, is_true
  
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  1 package is needed for this step and is not installed. (dimRed). Start a clean R session then run: install.packages("dimRed")1 package is needed for this step and is not installed. (dimRed). Start a clean R session then run: install.packages("dimRed")1 package is needed for this step and is not installed. (dimRed). Start a clean R session then run: install.packages("dimRed")1 package is needed for this step and is not installed. (dimRed). Start a clean R session then run: install.packages("dimRed")
  Attaching package: 'tidyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  1 package is needed for this step and is not installed. (mixOmics). Start a clean R session then run: install.packages("mixOmics")1 package is needed for this step and is not installed. (mixOmics). Start a clean R session then run: install.packages("mixOmics")1 package is needed for this step and is not installed. (mixOmics). Start a clean R session then run: install.packages("mixOmics")
  Attaching package: 'Matrix'
  
  The following objects are masked from 'package:tidyr':
  
      expand, pack, unpack
  
  [ FAIL 1 | WARN 0 | SKIP 374 | PASS 1753 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (343)
  • dimRed cannot be loaded (10)
  • mixOmics cannot be loaded (14)
  • redundant with check_new_data checks (1)
  • tune_check() is TRUE (6)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_holiday.R:101'): POSIXct class ───────────────────────────────
  holiday_ind$day[is.na(test_data$day)] (`actual`) not equal to as.POSIXct(NA, tz = NULL) (`expected`).
  
  `attr(actual, 'tzone')` is a character vector ('UTC')
  `attr(expected, 'tzone')` is absent
  
  [ FAIL 1 | WARN 0 | SKIP 374 | PASS 1753 ]
  Error: Test failures
  Execution halted