R/corx.R
check_classes.Rd
check all classes are as expected
check_classes(data, ok_classes, stop_message, stop = TRUE)
the data object
a vector of allowed classes
a character string provided to users if error triggers.
should the variable stop, or create a warning?