powered by
Warns if any of the passed column names is missing from the data provided.
check_cols(dt, cols)
A data.frame.
A vector of column names.
The vector of all columns present in dt.
# NOT RUN { chronicle::check_cols(mtcars, c('cyl', 'made_up_column')) # }
Run the code above in your browser using DataLab