Check whether variables all have the same length
Usage
check_equal_length(..., one_allowed = TRUE)
Arguments
- ...
The variables to check
- one_allowed
logical, allow arguments of length one that can be
recycled
Value
The function returns NULL
, but throws an error if variable lengths
differ