Validates that the value has at most length n.
See also
Other structure checks:
require_has_cols(),
require_length(),
require_length_matches(),
require_length_min(),
require_named(),
require_nrow_matches(),
require_nrow_min(),
require_scalar()