check.many: Internal-use function for quality checking sets of parameters

View source: R/check.many.R

check.manyR Documentation

Internal-use function for quality checking sets of parameters

Description

Internal-use function for quality checking sets of parameters

Usage

check.many(paramlist = NULL, type = c("oneof"))

Arguments

paramlist

The list of parameters being checked.

type

The expected type of parameter: currently only supports "oneof".

Value

If the check passes, returns nothing. If the check does not pass, throw an error.

Examples

N <- 10
power <- NULL
check.many(list(N, power), "oneof")

powertools documentation built on April 4, 2025, 5:02 a.m.