[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 Iñaki Ucar
El sáb., 22 feb. 2020 14:26, Stefan Möding  escribió:

> 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?
>

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


> 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?
>

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ñaki


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

[[alternative HTML version deleted]]

__
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


[R-pkg-devel] win-builder down?

2020-02-22 Thread Hadley Wickham
Hi all,

Is win-builder down? I submitted a couple of packages >24 hours ago,
and haven't heard back.

Hadley

-- 
http://hadley.nz

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


Re: [R-pkg-devel] win-builder down?

2020-02-22 Thread Max Turgeon
Hi Hadley,


It would seem so, or at least it's backed up significantly: 
https://stat.ethz.ch/pipermail/r-package-devel/2020q1/005078.html


Max Turgeon
Assistant Professor
Department of Statistics
Department of Computer Science
University of Manitoba
maxturgeon.ca



From: R-package-devel  on behalf of 
Hadley Wickham 
Sent: February 22, 2020 2:41:20 PM
To: R Package Development
Subject: [R-pkg-devel] win-builder down?

Hi all,

Is win-builder down? I submitted a couple of packages >24 hours ago,
and haven't heard back.

Hadley

--
http://hadley.nz

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

[[alternative HTML version deleted]]

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