You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following error I think we could improve it in 2 ways:
Make it so it says the error comes from degree() not new_quant_param()
Show that the wrong input was, in this case integer not double
library(dials)
#> Loading required package: scales
degree(1L)
#> Error in `new_quant_param()`:#> ! Since `type = 'double'`, please use that data type for the range.#> Backtrace:#> ▆#> 1. └─dials::degree(1L)#> 2. └─dials::new_quant_param(...)#> 3. └─dials:::check_range(range, type, trans)#> 4. └─rlang::abort(msg, call = call)
The text was updated successfully, but these errors were encountered:
In the following error I think we could improve it in 2 ways:
degree()
notnew_quant_param()
integer
notdouble
The text was updated successfully, but these errors were encountered: