From @vr@h@m@@d|er @end|ng |rom gm@||@com  Tue Nov  8 17:49:22 2022
From: @vr@h@m@@d|er @end|ng |rom gm@||@com (Avraham Adler)
Date: Tue, 8 Nov 2022 16:49:22 +0000
Subject: [Rd] R-devel 83314 fails datetime3 on Windows
Message-ID: <CAL6gwn+s_6vOhR1xFhZNfDVDmc16tsM336WzD2DXb99Wu4qcVw@mail.gmail.com>

Hello.

Building 83314 on R using R-tools I get the following failure which
relates to lines 463--470 in the datetime3.R test:

```
> ifi3 <- is.finite(dctm3)
> stopifnot(exprs = {
+     all.equal(dD, dDc, tolerance = 1e-4)
+     (dDm3 - dDcm3)[ifi3] %in% 0:1
+       (dD - dDc  )[ifi]  %in% 0:1
+       (nD - nDc  )[ifi]  %in% 0:1
+     is.na((dD   - dDc  )[!ifi])
+     is.na((dDm3 - dDcm3)[!ifi3])
+ })
Error: (dDm3 - dDcm3)[ifi3] %in% 0:1 are not all TRUE
Execution halted
```

In particular, please note that the first entries in the following two
vectors differ by one day:

```
> dDm3
 [1] "2016-12-06" NA           NA           "2016-12-06" NA
"2016-04-06" NA           NA           "2016-04-07"
[10] "2016-12-06" NA           "-Inf"       NA
> dDcm3
 [1] "2016-12-07" NA           NA           "2016-12-06" NA
"2016-04-06" NA           NA           "2016-04-07"
[10] "2016-12-06" NA           "-Inf"       NA
```
Also, in the sessionInfo below, I wonder why my computer returns a
time zone of Australia/Melbourne when I am based in US/New York

Session Info:

R Under development (unstable) (2022-11-08 r83314 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.utf8  LC_CTYPE=English_United
States.utf8    LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C                           LC_TIME=English_United
States.utf8

time zone: Australia/Melbourne
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] compiler_4.3.0

Note that Rblas is based on OpenBLAS 0.3.21

Thank you,

Avi



[Rd] R-devel 83314 fails datetime3 on Windows
Avraham Adler