-
Notifications
You must be signed in to change notification settings - Fork 92
create helper for newdata error #912
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it!
Is there a specific reason why you put the check in all the multi_predict.*()
functions instead of in multi_predict()
itself?
https://github.com/tidymodels/parsnip/blob/main/R/aaa_multi_predict.R#L20-L26
I did so just to mirror exactly the existing implementation. We do do this check in the |
I'm up! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the generic is a good place for this check to live in 👍 +1 also to revdeps and NEWS item
Wasn't expecting this, but:
😮🎉 |
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. |
Closes #525.