Ensure every vector has the same length or has length 1

validate_vector_lengths(..., .fun_name = NULL)

Arguments

...

vectors whose lengths will be compared

.fun_name

A string containing the name of the calling to use as a prefix in the warning. Default is NULL

Value

TRUE if passes checks, FALSE otherwise. Generates warnings.