Running ‘testthat.R’ [18s/25s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(humanize)
  > 
  > test_check("humanize")
  [ FAIL 6 | WARN 1 | SKIP 0 | PASS 140 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_time.R:256:3'): natural_day works as expected ────────────────
  natural_day\(today\) does not match "today".
  Actual value: "yesterday"
  Backtrace:
      ▆
   1. └─testthat::expect_match(natural_day(today), "today") at test_time.R:256:3
   2.   └─testthat:::expect_match_(...)
  ── Failure ('test_time.R:257:3'): natural_day works as expected ────────────────
  natural_day\(tomorrow\) does not match "tomorrow".
  Actual value: "today"
  Backtrace:
      ▆
   1. └─testthat::expect_match(natural_day(tomorrow), "tomorrow") at test_time.R:257:3
   2.   └─testthat:::expect_match_(...)
  ── Failure ('test_time.R:258:3'): natural_day works as expected ────────────────
  natural_day\(yesterday\) does not match "yesterday".
  Actual value: "Apr 30"
  Backtrace:
      ▆
   1. └─testthat::expect_match(natural_day(yesterday), "yesterday") at test_time.R:258:3
   2.   └─testthat:::expect_match_(...)
  ── Failure ('test_time.R:268:3'): natural_date works as expected ───────────────
  natural_date\(today\) does not match "today".
  Actual value: "yesterday"
  Backtrace:
      ▆
   1. └─testthat::expect_match(natural_date(today), "today") at test_time.R:268:3
   2.   └─testthat:::expect_match_(...)
  ── Failure ('test_time.R:269:3'): natural_date works as expected ───────────────
  natural_date\(tomorrow\) does not match "tomorrow".
  Actual value: "today"
  Backtrace:
      ▆
   1. └─testthat::expect_match(natural_date(tomorrow), "tomorrow") at test_time.R:269:3
   2.   └─testthat:::expect_match_(...)
  ── Failure ('test_time.R:270:3'): natural_date works as expected ───────────────
  natural_date\(yesterday\) does not match "yesterday".
  Actual value: "Apr 30"
  Backtrace:
      ▆
   1. └─testthat::expect_match(natural_date(yesterday), "yesterday") at test_time.R:270:3
   2.   └─testthat:::expect_match_(...)
  
  [ FAIL 6 | WARN 1 | SKIP 0 | PASS 140 ]
  Error: Test failures
  Execution halted