Last updated on 2025-05-15 11:50:34 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
humanize | 1 | 3 | 9 |
Current CRAN status: ERROR: 1, NOTE: 3, OK: 9
Version: 0.2.0
Check: tests
Result: ERROR
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
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.2.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.