Skip to contents

Assertions for Params and ParamSets

Usage

assert_param_set(
  param_set,
  cl = NULL,
  no_untyped = FALSE,
  must_bounded = FALSE,
  no_deps = FALSE
)

Arguments

param_set

(ParamSet).

cl

(character())
Allowed subclasses.

no_untyped

(logical(1))
Are untyped Domains allowed?

must_bounded

(logical(1))
Only bounded Domains allowed?

no_deps

(logical(1))
Are dependencies allowed?

Value

The checked object, invisibly.