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

Turn accessor functions into generics #384

Merged
merged 8 commits into from
Dec 8, 2022
Merged

Turn accessor functions into generics #384

merged 8 commits into from
Dec 8, 2022

Conversation

hfrick
Copy link
Member

@hfrick hfrick commented Dec 1, 2022

This PR turns the functions to access data sets from rsplit objects into generics:

  • training()
  • testing()
  • analysis()
  • assessment()

This PR does not change current behavior but I was wondering if training() and testing() should work on all rsplit objects or only those that are returned by initial_split()? -> #394

@hfrick hfrick marked this pull request as ready for review December 1, 2022 15:22
@hfrick hfrick requested a review from topepo December 1, 2022 15:22
@hfrick
Copy link
Member Author

hfrick commented Dec 7, 2022

The answer to my question on accessor functions is yes, resulting in this issue: #394

That means this is ready to merge, but I'll wait until after the next release so that all things related to the validation split rework can sit in dev for a while.

@hfrick hfrick merged commit 859830d into main Dec 8, 2022
@hfrick hfrick deleted the accessor-generics branch December 8, 2022 14:01
@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 Dec 23, 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