-
Notifications
You must be signed in to change notification settings - Fork 30
Deprecate default
argument
#241
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
because the constructor is called in a lot of places which do not actually make use of the `default` arg
@DavisVaughan I've addressed the comments from our review session 🙌 @topepo Max, could you also have a look at this since the PR removes the default values also for the exported parameter objects? |
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.
LGTM, I think this makes things a lot simpler and more consistent overall
Co-authored-by: Davis Vaughan <[email protected]>
for easier reading
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. |
This PR removes the
default
argument to the constructorsnew_quant_param()
andnew_qual_param()
. Closes #229 and closes #153.The
default
value was used in a single place: when generating a sequence of parameter values of length 1 viavalue_seq(n = 1)
. This PR removes the special behaviour forn = 1
invalue_seq()
and removes all the default values for the exported parameter functions likeLaplace()
.The revdep checks came back clean.