check_vector: Check Vector
Description
Checks the class and values of a vectorUsage
check_vector(vector, value, min_length = 1, max_length = max_nrow(),
vector_name = substitute(vector))
Arguments
vector
The vector to check.
value
A vector specifying the class and values.
min_length
A count of the minimum length.
max_length
A count of the maximum length.
vector_name
A string of the name of vector.
Value
Throws an informative error or returns an invisible copy of
the vector.