Learn R Programming

paradox (version 0.11.1)

assert_param: Assertions for Params and ParamSets

Description

Assertions for Params and ParamSets

Usage

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 )

Value

The checked object, invisibly.

Arguments

param

(Param).

cl

(character())
Allowed subclasses.

no_untyped

(logical(1))
Are untyped Params allowed?

must_bounded

(logical(1))
Only bounded Params allowed?

param_set

(ParamSet).

no_deps

(logical(1))
Are dependencies allowed?