R/validation_functions.R
validate_numeric.Rd
Validates that the argument is numeric. Fail quietly if NA_real_
validate_numeric(x, min = -Inf, max = Inf, .fun_name = NULL)
Variable to check
Minimum value allowed (inclusive) (default -Inf)
Maximum value allowed (inclusive) (default +Inf)
A string containing the name of the calling to use as a prefix in the warning. Default is NULL
TRUE if passes checks, FALSE otherwise. Generates warnings.