- using R version 4.4.2 Patched (2024-11-18 r87347)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-8) 14.2.0
GNU Fortran (Debian 14.2.0-8) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘lubridate/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘lubridate’ version ‘1.9.3’
- 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 serialization versions ... OK
- checking whether package ‘lubridate’ can be installed ... OK
See the install log for details.
- used C compiler: ‘gcc-14 (Debian 14.2.0-8) 14.2.0’
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/1s] 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 ... [16s/20s] OK
- checking Rd files ... [1s/1s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [1s/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in shell scripts ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/4s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [38s/49s] ERROR
Running ‘testthat.R’ [38s/49s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(lubridate)
Attaching package: 'lubridate'
The following objects are masked from 'package:base':
date, intersect, setdiff, union
>
> test_check("lubridate")
[ FAIL 5 | WARN 0 | SKIP 11 | PASS 3061 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• FIXME: activate when timechange#29 isfixed (1): 'test-periods.R:650:3'
• FIXME: time_length should be same on sides of DST? (1):
'test-timespans.R:55:3'
• FIXME: ymd_hms OSz parsing (2): 'test-parsers.R:263:3',
'test-parsers.R:278:3'
• On CRAN (7): 'test-namespace.R:33:3', 'test-namespace.R:44:3',
'test-ops-integer-division.R:17:3', 'test-parsers.R:1122:3',
'test-parsers.R:1141:3', 'test-pretty.R:4:3', 'test-vctrs.R:549:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-format_ISO8601.R:39:3'): Formatting a datetime works ─────────
format_ISO8601(...) (`actual`) not equal to "2018-02-01T03:04:05-0500" (`expected`).
`actual`: "2018-02-01T03:04:05+0000"
`expected`: "2018-02-01T03:04:05-0500"
usetz is respected with datetimes
── Failure ('test-format_ISO8601.R:43:3'): Formatting a datetime works ─────────
format_ISO8601(...) (`actual`) not equal to "2018-02-01T08:04:05Z" (`expected`).
`actual`: "2018-02-01T03:04:05Z"
`expected`: "2018-02-01T08:04:05Z"
usetz='Z' is respected with datetimes
── Failure ('test-format_ISO8601.R:52:3'): Formatting a datetime works ─────────
format_ISO8601(...) (`actual`) not equal to "2018-0500" (`expected`).
`actual`: "2018+0000"
`expected`: "2018-0500"
precision is respected (y) with timezone
── Failure ('test-format_ISO8601.R:128:3'): Formatting an Interval works ───────
format_ISO8601(...) (`actual`) not equal to "2018-02-01T00:00:00-0500/2018-03-04T00:00:00-0500" (`expected`).
`actual`: "2018-02-01T05:00:00+0000/2018-03-04T05:00:00+0000"
`expected`: "2018-02-01T00:00:00-0500/2018-03-04T00:00:00-0500"
interval formatting respects timezone
── Failure ('test-parsers.R:519:3'): AM/PM indicators are parsed correctly ─────
parse_date_time2("12/17/1996 04:00:00 PM", "mdYHMSp", tz = "CET") (`actual`) not equal to ymd_hms("1996-12-17 16:00:00", tz = "CET") (`expected`).
`actual`: "1996-12-17 16:00:00"
`expected`: "1996-12-17 15:00:00"
[ FAIL 5 | WARN 0 | SKIP 11 | PASS 3061 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [3s/4s] OK
- checking PDF version of manual ... [7s/10s] OK
- checking HTML version of manual ... [3s/4s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR