check_classes: check_classes

View source: R/corx.R

check_classesR Documentation

check_classes

Description

check all classes are as expected

Usage

check_classes(data, ok_classes, stop_message, stop = TRUE)

Arguments

data

the data object

ok_classes

a vector of allowed classes

stop_message

a character string provided to users if error triggers.

stop

should the variable stop, or create a warning?


corx documentation built on July 9, 2023, 6:32 p.m.