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
The order of the parameters in par and x makes a difference. I think it would be nice, if the parameter values and the parameters set would be matched by name. See the minimal example:
# minimal example for isFeasible
par.set = makeParamSet(
makeIntegerParam(id = "int", default = 1L),
makeLogicalParam(id = "logic", default = TRUE)
)
# this works
par.list = list(int = 2L, logic = TRUE)
isFeasible(par.set, par.list)
# this does not work, but I think it should
par.list2 = list(logic = TRUE, int = 2L)
isFeasible(par.set, par.list2)
The text was updated successfully, but these errors were encountered:
The order of the parameters in par and x makes a difference. I think it would be nice, if the parameter values and the parameters set would be matched by name. See the minimal example:
The text was updated successfully, but these errors were encountered: