check_has_column {volker} | R Documentation |
Check whether a column exist and stop if not
Description
Check whether a column exist and stop if not
Usage
check_has_column(data, cols, msg = NULL)
Arguments
data |
A data frame. |
cols |
A tidyselection of columns. |
msg |
A custom error message if the check fails. |
Value
boolean Whether the column exists.
[Package volker version 2.1.0 Index]