Validates that all elements of the value are among the allowed values.
Details
NA elements are skipped; chain require_no_na() to reject them.
See also
Other value checks:
require_between(),
require_negative(),
require_positive(),
require_unique()