Skip to contents

This function creates a data frame detailing the formatting errors for required columns that are missing.

Usage

format_error(
  required,
  reason = "Always Required",
  trigger = "Not detected in file"
)

Arguments

required

A character vector of required column names that were not detected.

Value

A data frame detailing the formatting errors.

Examples

if (FALSE) { # \dontrun{
format_error(c("Name", "Age"))
} # }