Assert that data.frame contains a set of user defined column names.
Usage
check_valid_dataframe_column(data, colnames, error_call = rlang::caller_env())
Details
data.frame may have any additional colnames.
It just has to have AT LEAST the columns specified by colnames
Informs user about the missing columns one at a time. This may change in future
Examples
# Check mtcars has columns 'mpg' and 'cyl'
ggoncoplot:::check_valid_dataframe_column(mtcars, c("mpg", "cyl"))