Open TimTaylor opened 2 years ago
I agree that control = list()
is a bit opaque, and in general I am in favour of being upfront about default arguments. Now that the proposed function body in #73 has a default control list creation step, with user values overriding the defaults if passed, this may be a bit more transparent to users?
I wonder if this should call a
default_control()
function. This may be a little more tractable/transparent?https://github.com/epiverse-trace/finalsize/blob/e059839623bd39504873eae5de6916a28fa643e8/R/final_size.R#L128-L134
It could become something like