check_has_column: 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)
Value
boolean Whether the column exists.
Arguments
- data
A data frame.
- cols
A tidyselection of columns.
- msg
A custom error message if the check fails.