
Check a data frame against a named list of expected column classes
Source:R/utils-instead.R
dot-check_col_spec.RdCompares the actual class of each column in df against the expected
class defined in col_spec, prints a colored console summary grouped
by status (match, mismatch, missing, extra), and returns a
tidy data.frame invisibly.
Integer/numeric mismatches are flagged as compatible in the note
column.