- using R Under development (unstable) (2024-09-05 r87099)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 18.1.8
flang-new version 18.1.8
- running under: Fedora Linux 36 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘fmdates/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘fmdates’ version ‘0.1.4’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘fmdates’ can be installed ... [9s/30s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [15s/30s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking LazyData ... NOTE
'LazyData' is specified without a 'data' directory
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9s/17s] ERROR
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s/13s] OK
- checking PDF version of manual ... [9s/30s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE