-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
test with new paradox #43
Conversation
Ah haven't seen your PR, I have made the same changes, but refactored a bit more would recommend to go for that PR instead: #49 |
@damirpolat this PR prepares for the upcoming paradox release, which can already be seen on github: mlr-org/paradox. The new version will throw an error when a parameter has a 'default' value and also has the 'required' tag. This is because the semantics of the 'default' value is "what does this parameter behave like when it is not set" -- this is in contradiction with the "required" tag, which indicates that a parameter must always be set. |
Please merge this PR if you are fine with it. |
(I think you should also put it on CRAN soon, so paradox can then be updated without causing revdep failures) |
@mb706 why did you remove the crate function for the custom checks, does it not have an effect here? |
The |
That means |
Yes, putting checkmate check_-functions inside anonymous functions is only necessary if you want to combine different checks, or if you want to modify the error message. But if you do use anonymous functions, crate() should be used. |
@damirpolat I am done here, you resolve the conflicts, merge andput the package on cran. |
Thank you for your pull request! It is merged now. |
No description provided.