Updates for current rsample #167
Open
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.
Closes #166
Some recent-ish changes in rsample are affecting spatialsample: rsample now prohibits LOO and has new type checkers.
The related breakages show up in the revdep tests for testthat, which is supposed to go out in the next week or so.
This PR removes test failures so that we can submit to CRAN (either after we get the 2-week deadline or, ideally, before testthat goes out).
Do you have bandwidth to look at the changes in the snapshots? I think some of the tests use LOO very intentionally to trigger helpful warnings from spatialsample - which might now be dead code. Edit: I've removed such a piece of dead code, the error when trying to do repeated LOO in
spatial_vfold_cv(). And I've now seen thebuffering.Rmdarticle error because it tries to use LOO for "leave-one-disc-out cross-validation". Taking this as confirmation that there was intent behind some of the LOO usage and pausing here so you can chip in before I do more :D