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