validation_utility_params.Rd
Utility functions for input validity.
string_user_input | A string containing the value that the user passed for the tested string type parameter. |
---|---|
parameter_name | A string containing the name the tested parameter had in the initial function in which it was passed. |
incidence_data_length | A number representing the length of the given incidence data. |
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. |
number | The value to be tested |
user_input | The variable to be tested |
TRUE if all tests were passed. Throws an error otherwise.