Running ‘testthat.R’ [8s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(fmdates)
  > 
  > test_check("fmdates")
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 144 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-calendars.R:28:3'): Sydney calendar is correct ─────────────────
  Error in ``+.Date`(as_date(origin), setdiff(ymd(20130101) + days(0:364), 
      syd_hol_2013))`: binary + is not defined for "Date" objects
  Backtrace:
      ▆
   1. └─base::`+.Date`(...) at test-calendars.R:28:3
  ── Error ('test-calendars.R:55:3'): Melbourne calendar is correct ──────────────
  Error in ``+.Date`(as_date(origin), setdiff(ymd(20130101) + days(0:364), 
      mel_hol_2013))`: binary + is not defined for "Date" objects
  Backtrace:
      ▆
   1. └─base::`+.Date`(...) at test-calendars.R:55:3
  ── Error ('test-calendars.R:84:3'): NYC calendar is correct ────────────────────
  Error in ``+.Date`(as_date(origin), setdiff(ymd(20120101) + days(0:365), 
      hol_2012))`: binary + is not defined for "Date" objects
  Backtrace:
      ▆
   1. └─base::`+.Date`(...) at test-calendars.R:84:3
  ── Error ('test-calendars.R:110:3'): London calendar is correct ────────────────
  Error in ``+.Date`(as_date(origin), setdiff(ymd(20120101) + days(0:365), 
      hol_2012))`: binary + is not defined for "Date" objects
  Backtrace:
      ▆
   1. └─base::`+.Date`(...) at test-calendars.R:110:3
  ── Error ('test-calendars.R:131:3'): TARGET calendar is correct ────────────────
  Error in ``+.Date`(as_date(origin), setdiff(ymd(20130101) + days(0:364), 
      hol_2013))`: binary + is not defined for "Date" objects
  Backtrace:
      ▆
   1. └─base::`+.Date`(...) at test-calendars.R:131:3
  ── Error ('test-calendars.R:158:3'): Auckland and Wellington calendars are correct ──
  Error in ``+.Date`(as_date(origin), setdiff(ymd(20140101) + days(0:364), 
      akl_hol_2014))`: binary + is not defined for "Date" objects
  Backtrace:
      ▆
   1. └─base::`+.Date`(...) at test-calendars.R:158:3
  ── Error ('test-calendars.R:187:3'): Toyko calendars are correct ───────────────
  Error in ``+.Date`(as_date(origin), setdiff(ymd(20130101) + days(0:364), 
      hol_2013))`: binary + is not defined for "Date" objects
  Backtrace:
      ▆
   1. └─base::`+.Date`(...) at test-calendars.R:187:3
  ── Error ('test-calendars.R:215:3'): Zurich calendars are correct ──────────────
  Error in ``+.Date`(as_date(origin), setdiff(ymd(20160101) + days(0:365), 
      h2016))`: binary + is not defined for "Date" objects
  Backtrace:
      ▆
   1. └─base::`+.Date`(...) at test-calendars.R:215:3
  ── Error ('test-calendars.R:238:3'): Hong Kong calendars are correct ───────────
  Error in ``+.Date`(as_date(origin), setdiff(ymd(20160101) + days(0:365), 
      h2016))`: binary + is not defined for "Date" objects
  Backtrace:
      ▆
   1. └─base::`+.Date`(...) at test-calendars.R:238:3
  ── Error ('test-calendars.R:257:3'): Oslo calendars are correct ────────────────
  Error in ``+.Date`(as_date(origin), setdiff(ymd(20160101) + days(0:365), 
      h2016))`: binary + is not defined for "Date" objects
  Backtrace:
      ▆
   1. └─base::`+.Date`(...) at test-calendars.R:257:3
  
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 144 ]
  Error: Test failures
  Execution halted