powered by
Checks that column names in a passed data frame are not protected, that is, they do not begin with "...ard_" and end with "...".
"...ard_"
"..."
.check_no_ard_columns(x, exceptions = "...ard_dummy_for_counting...")
returns invisible if check is successful, throws an error message if not.
(data.frame) a data frame
data.frame
(string) character string of column names to exclude from checks
string
data <- data.frame("ard_x" = 1) cards:::.check_no_ard_columns(data)
Run the code above in your browser using DataLab