Assertions for Params and ParamSets
assert_param(param, cl = "Param", no_untyped = FALSE, must_bounded = FALSE)assert_param_set(
param_set,
cl = "Param",
no_untyped = FALSE,
must_bounded = FALSE,
no_deps = FALSE
)
The checked object, invisibly.
(Param).
(character()
)
Allowed subclasses.
(logical(1)
)
Are untyped Params allowed?
(logical(1)
)
Only bounded Params allowed?
(ParamSet).
(logical(1)
)
Are dependencies allowed?