[R-pkg-devel] CRAN checks failing for ATLAS

2020-02-22 Thread Stefan Möding
Hi,

I was notified by the CRAN maintainers that checks for my package are
failing:

https://cran.r-project.org/web/checks/check_results_usl.html

I don’t understand what’s going on here. All regular checks show the OK
status. Only the linked ATLAS check fails. What is so special about this
check?

The check seems to be running on x86_64-pc-linux-gnu (64-bit) and use
the R development version (2020-02-20 r77833). The regular check
"r-devel-linux-x86_64-debian-gcc" runs on the same platform and a later
version but doesn’t fail.

Any hints what is causing the failures?

Regards,
Stefan

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] CRAN checks failing for ATLAS

2020-02-22 Thread Stefan Möding
Hi!

Iñaki Ucar  writes:

> It's the same check, but using ATLAS as the algebra back-end instead of
> BLAS.

I wasn’t aware of these differences. I just found the paragraph in the R
Installation and Administration guide that talks about the accuracy of
different implementations causing different solutions.

I think in my case the data used for the test might be the real culprit
because it is a kind of a corner case. Some implementation detail seems
to cause a significant difference in the result (6% off for one
coefficient). Other tests using different data sets do not fail, so I
will look into this.


> It seems that you are checking exact output values in your tests, and
> changing the library changes the computed coefficients. This is generally a
> bad idea, precisely as this issue demonstrates. Checking ranges or numbers
> with some tolerance is much better, but then you cannot rely on .Rout.

I already reduced the number of digits to print because I had this issue
before. I think the computed coefficients changed from one R release to
the next in the past some time ago...

Maybe I should switch to something like

stopif(all.equal(...)

instead.

Thanks again!

Regards,
Stefan

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel