dot-are_valid_argument_values: Utility functions for input validity.

.are_valid_argument_valuesR Documentation

Utility functions for input validity.

Description

Utility function that checks that the values the user passed when calling a function are valid.

Usage

.are_valid_argument_values(user_inputs)

Arguments

user_inputs

A list of lists with two elements: the first is the value of the parameter to be tested. The second is the expected type of that parameter.

Value

TRUE if all tests were passed. Throws an error otherwise.


covid-19-Re/estimateR documentation built on Sept. 14, 2024, 5:49 a.m.