R/check_functions.R
dot-stop_invalid_column_values.Rd
.stop_invalid_column_values
generates an error condition of class
"invalid_column_names". This function should be used within the
.checkColumnValues
function.
.stop_invalid_column_values(col, n_rows, dat_name = NULL, values = NULL, ...)
Character string containing a single column name.
Integer of length 1; number of rows with invalid values.
Character string indicating the dataset name.
Optional. Invalid values in column. Only the first three will be printed.
Any other argument useful to identify the source of the error and/or how to fix it.
Error condition. Object of class "invalid_column_names", "error", "condition".
.stop_custom
;
.stop_invalid_column_values
;
.stop_uncatalogued_column
;
.checkColumnValues
Other custom stop functions:
.stop_custom()
,
.stop_required_columns_misplaced()
,
.stop_required_columns_missing()
,
.stop_required_missing_row_value()
,
.stop_uncatalogued_column()