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

Keep attributes up to parity with rsample #94

Merged
merged 5 commits into from
Jul 7, 2022
Merged

Conversation

mikemahoney218
Copy link
Member

This will prepare spatialsample to behave well with tidymodels/rsample#329 .

@mikemahoney218 mikemahoney218 marked this pull request as ready for review July 6, 2022 14:25
NEWS.md Outdated
Comment on lines 4 to 5
* `strata` attribute is now the name of the column used for stratification,
or FALSE if there was no stratification.
Copy link
Member

@juliasilge juliasilge Jul 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My question here is the same as in rsample. It looks like NULL plus column works, and that's a better option than making an attribute that might be a logical or a string.

Copy link
Member

@juliasilge juliasilge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great 🙌

@juliasilge juliasilge merged commit 044275c into main Jul 7, 2022
@juliasilge juliasilge deleted the mike/strata_attribute branch July 7, 2022 18:00
@github-actions
Copy link

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants