Stop if column name is not present in the data
stopifnotcolumn.RdSimilar in function to stopifnot but specific to a column name that you wish to double check if it is present in your data or not.
Value
TRUE is invisibly returned if the column name is found and
an informative stop call is initiated if the column is not present.