Check if a parameter value satisfies the requirements of the
parameter description. This only checks the requires
expressions.
isRequiresOk(par.set, par.vals, ids = names(par.vals), use.defaults = TRUE)
[ParamSet
]
Parameter set.
list()
List of parameter settings.
character()
id
s of the param.vals to check. Default is names(par.vals)
.
logical()
Some requirements relay on default values of the par.set
. Default is TRUE
, which means that if the value is not present in par.vals
the default value will be considered.
logical(1)