R/check_functions.R
dot-stop_required_columns_missing.Rd
.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, ...)
A character vector containing the names of missing columns.
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.
Error condition. Object of class "required_columns_missing", "error", "condition".
.stop_custom
;
.stop_required_columns_missing
;
.stop_required_columns_misplaced
;
.checkRequiredColumns
Other custom stop functions:
.stop_custom()
,
.stop_invalid_column_values()
,
.stop_required_columns_misplaced()
,
.stop_required_missing_row_value()
,
.stop_uncatalogued_column()