Repository navigation
Conversation
# Conflicts: # NEWS.md
# Conflicts: # NEWS.md
# Conflicts: # NEWS.md
…reference model fits with get_fit()
…the tests with getters
…) error checks into test blocks
…hes to helpers/switches.R
# Conflicts: # NEWS.md # tests/testthat/helpers/expectors.R # tests/testthat/setup.R # tests/testthat/test_as_matrix.R # tests/testthat/test_parallel.R # tests/testthat/test_proj_pred.R # tests/testthat/test_project.R # tests/testthat/test_refmodel.R # tests/testthat/test_setup.R # tests/testthat/test_varsel.R
# Conflicts: # tests/testthat/test_varsel.R
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR depends on #688, #689 and #690. The branch contains them (base bee4d6f), so the diff shows their changes until they are merged. The commits of this PR are fd9e2ae and 444dcaf.
In the CI of #682, the check at
test_varsel.R:598failed on Linux and macOS: the mean relative difference was 2.34e-15 and the tolerance 2.2e-15. On CSC Roihu and Windows, it passed. The rounding of two computations of the same value depends on the platform. This PR raises the tolerance of five similar checks, so that they do not fail on other platforms.Changes
test_methods_vsel.R:751(cv_proportions(), cumulated).Machine$double.eps1e2 * .Machine$double.epstest_proj_predfun.R:97(repair_re(), GLMM)test_proj_predfun.R:109(repair_re(), GLMM)test_proj_predfun.R:165(repair_re(), GLMM)test_glm_ridge.R:348(glm_ridge, intercept only)With the new tolerances, the margins are 100 times smaller (at most 0.0064).
This PR was assisted by Claude