-
Notifications
You must be signed in to change notification settings - Fork 42
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
require optional arguments to be named #863
Conversation
Those dots are actually passed on to internal functions and aren't just to enforce naming arguments.
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.
Looks amazing! found 1 place where rlang::check_dots_empty(call = call)
wasn't used
Wow, tidysdm is the only revdep breakage, and it's not due to these changes. Right on. :) |
* address issues from tidymodels/tune#863 * move dots in `collect_*()` * move dots in `show_best.tune_race()` note that this adds a `call` argument for compatibility with the `tune_results` method--otherwise, tune will add one when calling `show_best()` inside of `select_best()` and trigger a nonempty dots error * note change in NEWS * update Remotes ref * pass `type` by name preserves the previous behavior of respecting `type`; this is already tested in extratests * update tune ref [no ci]
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. |
From
NEWS
:Note that these changes also apply to some other functions that hadn't yet made it to the CRAN version of the package.
Creating as draft as there are many changes here and I'd want to take another look + look into extratests + get started on analogous changes downstream in finetune and agua before calling this ready for review. If you see issues already, though, feel free to chime in.