R/utils.R
stop_if_not_in.Rd
stop if not in
stop_if_not_in(var, list, msg)
Name of var to check
list of acceptable options
the warning message to display