Skip to content
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

Reduce test tolerance to avoid repeated test failure #18

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

eddelbuettel
Copy link
Contributor

@eddelbuettel eddelbuettel commented Feb 6, 2025

Dear phenofit team,

During reverse-dependency tests for packages I look after (e.g. Rcpp and RcppArmadillo), package phenofit started to reliably fail just one test on some systems but not others. Sadly, one of the CRAN reference machines (administered by @kurthornik) is among those so this always triggers an email chain between CRAN and the corresponding maintainer. On the last round I suggested to CRAN that 'we' should talk to you and they of course cleverly assigned me :) I was able to reproduce this in a container (running rocker/r2u:24.04 on an older i7-8700). Switching the default tolerance from 1e-6 to 1e-5 in two instances overcomes this.

There is still remaining 'chatter' of the 'warning: solve(): system is singular; attempting approx solution' type that I also talked about with the author of Armadillo; his view was that this is likely due to your example / data and there is little he can do. At least that does not lead to a FAIL.

Concerning the two-line change for the FAIL, you will know better if this has undesirable side effects. It you see this as appropriate and could consider this in your next upload it might make overall operations a little smoother.

@kongdd
Copy link
Member

kongdd commented Feb 6, 2025

Thank you. This is accetpable. Rcpp helps a lot in my package.

@kongdd kongdd merged commit f109af1 into eco-hydro:master Feb 6, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants