Running ‘testthat.R’ [4m/11m]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(calcal)
  > 
  > test_check("calcal")
  [1] "afrench"
  [1] "apersian"
  [1] "armenian"
  [1] "babylonian"
  [1] "bahai"
  [1] "balinese"
  [1] "chinese"
  [1] "coptic"
  [1] "egyptian"
  [1] "ethiopic"
  [1] "french"
  [1] "gregorian"
  [1] "hebrew"
  [1] "hindu_lunar"
  [1] "hindu_solar"
  [1] "icelandic"
  [1] "islamic"
  [1] "iso"
  [1] "japanese"
  [1] "julian"
  [1] "korean"
  [1] "mayan"
  [1] "ohebrew"
  [1] "oislamic"
  [1] "old_hindu_lunar"
  [1] "old_hindu_solar"
  [1] "persian"
  [1] "roman"
  [1] "samaritan"
  [1] "saudi"
  [1] "tibetan"
  [1] "vietnamese"
  [1] "afrench"
  [1] "apersian"
  [1] "armenian"
  [1] "babylonian"
  [1] "bahai"
  [1] "balinese"
  [1] "chinese"
  [1] "coptic"
  [1] "egyptian"
  [1] "ethiopic"
  [1] "french"
  [1] "gregorian"
  [1] "hebrew"
  [1] "hindu_lunar"
  [1] "hindu_solar"
  [1] "icelandic"
  [1] "islamic"
  [1] "iso"
  [1] "japanese"
  [1] "julian"
  [1] "korean"
  [1] "mayan"
  [1] "ohebrew"
  [1] "oislamic"
  [1] "old_hindu_lunar"
  [1] "old_hindu_solar"
  [1] "persian"
  [1] "roman"
  [1] "samaritan"
  [1] "saudi"
  [1] "tibetan"
  [1] "vietnamese"
  [1] "afrench"
  [1] "apersian"
  [1] "armenian"
  [1] "babylonian"
  [1] "bahai"
  [1] "balinese"
  [1] "chinese"
  [1] "coptic"
  [1] "egyptian"
  [1] "ethiopic"
  [1] "french"
  [1] "gregorian"
  [1] "hebrew"
  [1] "hindu_lunar"
  Saving _problems/test-common-45.R
  [1] "hindu_solar"
  [1] "icelandic"
  [1] "islamic"
  [1] "iso"
  [1] "japanese"
  [1] "julian"
  [1] "korean"
  [1] "mayan"
  [1] "ohebrew"
  [1] "oislamic"
  [1] "old_hindu_lunar"
  [1] "old_hindu_solar"
  [1] "persian"
  [1] "roman"
  [1] "samaritan"
  [1] "saudi"
  [1] "tibetan"
  [1] "vietnamese"
  [1] "chinese"
  [1] "hebrew"
  [1] "hindu_lunar"
  [1] "japanese"
  [1] "korean"
  [1] "vietnamese"
  [1] "afrench"
  [1] "apersian"
  [1] "armenian"
  [1] "bahai"
  [1] "balinese"
  [1] "coptic"
  [1] "egyptian"
  [1] "ethiopic"
  [1] "french"
  [1] "gregorian"
  [1] "hindu_solar"
  [1] "icelandic"
  [1] "islamic"
  [1] "iso"
  [1] "julian"
  [1] "mayan"
  [1] "old_hindu_lunar"
  [1] "old_hindu_solar"
  [1] "persian"
  [1] "roman"
  [1] "tibetan"
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 373 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-common.R:40:7'): today ───────────────────────────────────────
  Expected `today + c(0:3, NA)` to equal `x$to_rd(x$from_rd((today + c(0:3, NA))))`.
  Differences:
    `actual[1:4]`: 739656.0 739657.0 739658.0 739659.0
  `expected[1:4]`: 739657.0 739657.0 739658.0 739659.0
  
  Backtrace:
      ▆
   1. └─base::lapply(...) at test-common.R:35:3
   2.   └─calcal (local) FUN(X[[i]], ...)
   3.     └─testthat::expect_equal(...) at test-common.R:40:7
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 373 ]
  Error:
  ! Test failures.
  Execution halted