Validate if given tibble has required columns.

validate_has_columns(df, columns, .fun_name = NULL)

Arguments

df

The tibble to check

columns

Vector strings containing names of columns to check presence of.

.fun_name

A string containing the name of the calling to use as a prefix in the warning. Default is NULL

Value

TRUE if passes checks, FALSE otherwise. Generates warnings.