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

Adapted the rbootnoise tests into the context #32

Merged
merged 15 commits into from
Dec 7, 2023

Conversation

IlmariTamminen
Copy link
Contributor

@IlmariTamminen IlmariTamminen commented Oct 31, 2023

The failing rbootnoise R CMD Checks are now fixed. The previous tests were overkill considering the cross-platform context of the R CMD checks, which fundamentally cannot utilize an individual highly reproducible container. The purpose of the updated rbootnoise tests is to perform rough comparisons tolerating relatively large deviations from the earlier-acquired reference data. The tests try to catch possible large deviations caused by significant technical issues. Without a highly controlled individual container environment (not applicable in the context of cross-platform R CMD Checks) the exact technical reproducibility cannot be established. For example, it is known that even the different versions of R can cause varying behaviour in the fundamental set.seed(), even on the same underlying system, an unavoidable technical curiosity accepted by the R community.

https://stackoverflow.com/questions/47199415/is-set-seed-consistent-over-different-versions-of-r-and-ubuntu

These technical variations are especially problematic with the individual replicates, which cannot stabilize in longer run. Thus, exact reproduction of data in this context is not expected when such is not warranted.

IlmariTamminen and others added 15 commits October 31, 2023 10:13
….5e-8 deviations, for example caused by expected rounding errors between different systems.
…s due to the unavoidable technical variation without carefully controlled containerized environment not applicable in the R CMD Checks.
… were compared. This somewhat useless test caused absurd behaviour with the deviation tolerance of the all.equal() (different data gave TRUE). Also increased the remaining tolerances of other tests.
…exactly the same way. Its tolerance limit was increased further. The new principles of these tests were explained in the earlier commit.
…ata to hard drive and loading them back into memory. If these nominal differences are the reason, let's reject those. Thanks to excellent other tests of the lmeresampler, the carry-over of attributes within an R session should be okay.
…sts is to check the numeric reporducibility within the accepted deviation. The numeric-deviation limit decreased back to lower level and all.equal() removed.
…he problem, also in this context. It was removed and focus put on the acceptable numeric reproduction of the results considering the cross-platform non-containerized context.
@aloy aloy merged commit d512464 into aloy:master Dec 7, 2023
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