R/check_functions.R
dot-stop_required_columns_misplaced.Rd
.stop_required_columns_misplaced
generates an error condition of
class "required_columns_misplaced".
The order of the required columns can be printed with the
.requiredColumns
function. This function should be used within
the .checkRequiredColumns
function.
.stop_required_columns_misplaced(cols, dat_name = NULL, df, ...)
A character vector containing the names of the missing columns.
A data frame with information about the expected and actual
positions of the required columns in a bugphyzz dataset. See
.checkRequiredColumns
.
Any other argument useful to identify the source of the error and/or how to fix it.
A character string indicating the name of the dataset.
Error condition. Object of class: "required_columns_misplaced", "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_missing()
,
.stop_required_missing_row_value()
,
.stop_uncatalogued_column()