Hello,
we distribute data.table in Debian and therefore run its test suite on a broader range of architectures than are typically covered on CRAN. One such architecture is riscv64, where R reports .Machine$longdouble.digits == 113 (i.e. true quad‑precision long double arithmetic).
Since data.table 1.18.0, two regression tests in tests/froll.Rraw have started to fail on this architecture:
- 6001.740 (
frollvar)
- 6001.741 (
frollsd)
In both cases, the observed difference is that the result contains NaN where the test expects NA for rolling windows involving missing values. The failures are deterministic and limited to these two tests.
A full CI log from Debian (riscv64) is available here:
https://ci.debian.net/packages/r/r-cran-data.table/testing/riscv64/69978545/
Would you consider adjusting these two tests to special‑case architectures with extended long double precision (for example, accepting NaN vs NA, or conditionally skipping the checks when .Machine$longdouble.digits > 64)?
We would of course be happy to test any proposed change on riscv64.
Best regards,
Charles Plessy
Hello,
we distribute data.table in Debian and therefore run its test suite on a broader range of architectures than are typically covered on CRAN. One such architecture is
riscv64, where R reports.Machine$longdouble.digits == 113(i.e. true quad‑precisionlong doublearithmetic).Since data.table 1.18.0, two regression tests in
tests/froll.Rrawhave started to fail on this architecture:frollvar)frollsd)In both cases, the observed difference is that the result contains
NaNwhere the test expectsNAfor rolling windows involving missing values. The failures are deterministic and limited to these two tests.A full CI log from Debian (riscv64) is available here:
https://ci.debian.net/packages/r/r-cran-data.table/testing/riscv64/69978545/
Would you consider adjusting these two tests to special‑case architectures with extended
long doubleprecision (for example, acceptingNaNvsNA, or conditionally skipping the checks when.Machine$longdouble.digits > 64)?We would of course be happy to test any proposed change on riscv64.
Best regards,
Charles Plessy