-
Notifications
You must be signed in to change notification settings - Fork 2
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
implement tune_args()
and tunable()
#51
Conversation
|
@@ -128,16 +128,15 @@ required_pkgs.equivocal_zone <- function(x, ...) { | |||
|
|||
#' @export | |||
tunable.equivocal_zone <- function(x, ...) { | |||
tibble::new_tibble(list( |
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 have no arguments here, but I'm curious why you made that change. Is it for readability (since these aren't likely to be called a large number of times)?
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.
Thanks for calling that out. I'd like to revisit that and return to using new_tibble()
, though there was a vector recycling issue that resulted in an interval vctrs error later on; I think we'll just need to do some manual rep()
ping.
) | ||
} | ||
|
||
eval_call_info <- function(x) { |
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.
Should we make a small standalone file? If not, add some notes/link to original and noocv
?
(same for other replicas below)
Going to go ahead and merge this to resolve package installation errors for the dev packages, spinning out new issues for Max's comments. See #52. |
Quite a bit of machinery borrowed from recipes. (Thanks, recipes!) Mostly generic to
tailor
andadjustment
classes, only adjustment-specific methods aretunable()
, which were already implemented. :)Note that the dials functions referenced in the existing adjustment-specific
tunable()
methods do not actually exist.