.stop_required_columns_missing generates an error condition of class "required_columns_missing". The required columns can be printed with the .requiredColumns function. This function should be used within the .checkRequiredColumns function.

.stop_required_columns_missing(cols, dat_name = NULL, ...)

Arguments

cols

A character vector containing the names of missing columns.

dat_name

A character string indicating the name of the dataset.

...

Any other argument useful to identify the source of the error and/or how to fix it.

Value

Error condition. Object of class "required_columns_missing", "error", "condition".