-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test suite failures in 32bit architectures #312
Comments
I believe this is actually the result of a base R bug on 32-bit Linux systems Reproducible with:
UTC example, everything looks good: # MY COMPUTER (64 bit Mac)
> x <- as.POSIXct("0000-01-05", tz = "UTC")
> x
[1] "0000-01-05 UTC"
> unclass(x)
[1] -62166873600
attr(,"tzone")
[1] "UTC"
# 32 BIT LINUX CONTAINER
> x <- as.POSIXct("0000-01-05", tz = "UTC")
> x
[1] "0-01-05 UTC"
> unclass(x)
[1] -62166873600
attr(,"tzone")
[1] "UTC" America/New_York example, this is weird - note the similar print output, but differing underlying numeric values: # MY COMPUTER (64 bit Mac)
> x <- as.POSIXct("0000-01-05", tz = "America/New_York")
> x
[1] "0000-01-05 LMT"
> unclass(x)
[1] -62166855838
attr(,"tzone")
[1] "America/New_York"
# 32 BIT LINUX CONTAINER
> x <- as.POSIXct("0000-01-05", tz = "America/New_York")
> x
[1] "0-01-05 EST"
> unclass(x)
[1] -62166855600
attr(,"tzone")
[1] "America/New_York" If you take that Linux value of > .POSIXct(-62166855600, tz = "America/New_York")
[1] "0000-01-05 00:03:58 LMT" which is exactly 3 minutes and 58 seconds off, which corresponds to the amount of difference seen in the failing test! So I imagine this is a base R issue on 32 bit Linux somehow. I can report it to R-devel, and I'll just skip these tests on 32 bit systems. |
Am Thu, Apr 13, 2023 at 12:51:55PM -0700 schrieb Davis Vaughan:
...
which is exactly 3 minutes and 58 seconds off, which corresponds to the amount of difference seen in the failing test!
Makes sense.
So I imagine this is a base R issue on 32 bit Linux somehow. I can report it to R-devel, and I'll just skip these tests on 32 bit systems.
Thanks a lot for caring, Andreas.
|
Hi,
I have packaged clock for Debian. The test suite is run on several architectures. Unfortunately there are two failing tests for i386, armel and armhf. As an example here is the full test log for i386 which contains:
This was reported in a Debian bug report.
Kind regards, Andreas.
The text was updated successfully, but these errors were encountered: