Skip to content
Prev 369226 / 398498 Next

R-3.4.0 fails test

Looks like that one is not the same, occurring a handful of lines further up.

Anyways, you might want to 

a) move the discussion to R-devel
b) include your platform (hardware, OS) and time zone info
c) run the offending code lines "by hand" and show us the values of format(dlt) and format(dct) so we can see what the problem is, something like

dlt <- structure(
    list(sec = 52, min = 59L, hour = 18L, mday = 6L, mon = 11L, year = 116L,
       wday = 2L, yday = 340L, isdst = 0L, zone = "CET", gmtoff = 3600L),
       class = c("POSIXlt", "POSIXt"), tzone = c("", "CET", "CEST"))
dlt$sec <- 10000 + 1:10 
dct <- as.POSIXct(dlt)
cbind(format(dlt), format(dct))


-pd