Closed jonthegeek closed 4 years ago
The default would be used when initializing some models. If the underlying function does not have a default, the parameter object can provide one.
I don't think that this feature gets used anywhere but it is there.
Thanks for this discussion! 🙌
This issue 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.
As far as I can tell in the code, most quant params are constructed with
default = unknown()
andfinalize = NULL
. Could this cause issues? I'm trying to wrap my head around exactly when it'd be possible for even a qual param to fall through to "care" about the default, but it seems off that most quant params could theoretically come out of tuning withunknown()
still set (sincefinalize.param
starts withif (is.null(object$finalize)) return(object)
. Maybe that would never happen? To be honest, I'm not grasping when thedefault
value would ever be used.