checkNoExtraVars
Check that the raw data does not include extraneous variables.
checkNoExtraVars(data, varNames, except = NULL)
data
: Raw data, a data frame.varNames
: Vector of valid variable names.except
: A vector of variable names to be excluded form the check.A list.