Displaying 2 results from an estimated 2 matches for "wdstjan1".
2016 Sep 15
0
Time zone issues when compiling R
...ling test is in tests/reg-tests-rc.R
(https://github.com/wch/r-source/blob/c3fe9cd4/tests/reg-tests-1c.R#L1577-L1587):
## format.POSIXlt() of Jan.1 if 1941 or '42 is involved:
tJan1 <- function(n1, n2)
strptime(paste0(n1:n2,"/01/01"), "%Y/%m/%d", tz="CET")
wDSTJan1 <- function(n1, n2)
which("CEST" == sub(".* ", '', format(tJan1(n1,n2), usetz=TRUE)))
(w8 <- wDSTJan1(1801, 2300))
(w9 <- wDSTJan1(1901, 2300))
stopifnot(identical(w8, 141:142),# exactly 1941:1942 had CEST on Jan.1
identical(w9, 41: 42))
## for R-...
2017 Feb 27
5
Test suite failures in R-devel_2017-02-25_r72256
Hi,
I tried compiling the latest pre-release for R 3.3.3 for the NixOS Linux
distribution [1], but the build fails during the "make check" phase
because of the following 2 issues:
1) The "tools" test in "tests/Examples" requires network access, which
it doesn't have in our build environment. Therefore, it fails as
follows according to