assert_param_set: Assertions for Params and ParamSets

View source: R/asserts.R

assert_param_setR Documentation

Assertions for Params and ParamSets

Description

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.


mlr-org/phng documentation built on April 22, 2024, 4:34 p.m.