check_is_categorical: Check whether a column selection is categorical
Description
Check whether a column selection is categorical
Usage
check_is_categorical(data, cols, msg = NULL)
Value
boolean Whether the columns are categorical
Arguments
- data
A data frame.
- cols
A tidyselection of columns.
- msg
A custom error message if the check fails.