R: Check if parameter requirements are met.

isRequiresOk {ParamHelpers} | R Documentation

## Check if parameter requirements are met.

### Description

Check if a parameter value satisfies the requirements of the parameter description. This only checks the `requires` expressions.

### Usage

    isRequiresOk(par.set, par.vals, ids = names(par.vals), use.defaults = TRUE)

### Arguments

`par.set` | ParamSet Parameter set.
`par.vals` | (`list()`) List of parameter settings.
`ids` | (`character()`) `id`s of the param.vals to check. Default is `names(par.vals)`.
`use.defaults` | (`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.

### Value

`logical(1)`

[Package ParamHelpers version 1.13 Index]