Opaque error from parameters()
with new_*_param(..., label = NULL)
#349
Labels
bug
an unexpected problem or unintended behavior
We can specify a new parameter with
new_quant_param()
ornew_qual_param()
.The docs state that
label
is an optional parameter:dials/R/constructors.R
Lines 34 to 36 in 210055f
But if no label is specified, we get an opaque error when handing our new parameter to
parameters()
:Created on 2024-09-02 with reprex v2.1.1
Session info
It's because the label is used within
parameters()
to construct the parameter names:dials/R/parameters.R
Line 39 in 210055f
The text was updated successfully, but these errors were encountered: