Running ‘testthat.R’ [25s/38s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(janitor)
  
  Attaching package: 'janitor'
  
  The following objects are masked from 'package:stats':
  
      chisq.test, fisher.test
  
  > 
  > test_check("janitor")
  [ FAIL 4 | WARN 14 | SKIP 1 | PASS 799 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-adorn-rounding.R:25:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-convert_to_date.R:50:3'): convert_datetime works ─────────────
  convert_to_datetime("2009-07-06 12:13:14", tz = "EST") (`actual`) not equal to as.POSIXct("2009-07-06 12:13:14", tz = "EST") (`expected`).
  
  `actual`:   "2009-07-06 17:13:14"
  `expected`: "2009-07-06 12:13:14"
  The tz argument is respected
  ── Failure ('test-convert_to_date.R:63:3'): convert_datetime works ─────────────
  convert_to_datetime(40000.1, tz = "EST") (`actual`) not equal to as.POSIXct("2009-07-06 02:24", tz = "EST") (`expected`).
  
  `actual`:   "2009-07-06 07:24:00"
  `expected`: "2009-07-06 02:24:00"
  ── Failure ('test-convert_to_date.R:75:3'): convert_datetime works ─────────────
  convert_to_datetime("40000.1", tz = "EST") (`actual`) not equal to as.POSIXct("2009-07-06 02:24", tz = "EST") (`expected`).
  
  `actual`:   "2009-07-06 07:24:00"
  `expected`: "2009-07-06 02:24:00"
  ── Failure ('test-sas_dates.R:19:3'): sas_numeric_to_date ──────────────────────
  sas_numeric_to_date(...) (`actual`) not equal to as.POSIXct(c(NA, "1960-01-01 19:00:01"), tz = "EST") (`expected`).
  
  `actual`:   NA "1960-01-02 00:00:01"
  `expected`: NA "1960-01-01 19:00:01"
  
  [ FAIL 4 | WARN 14 | SKIP 1 | PASS 799 ]
  Error: Test failures
  Execution halted