check_has_column {volker} | R Documentation |
Check whether a column exist and stop if not
check_has_column(data, cols, msg = NULL)
data |
A data frame. |
cols |
A tidyselection of columns. |
msg |
A custom error message if the check fails. |
boolean Whether the column exists.