Assert Valid Data Frame
assert_is_valid_data_frame.RdValidates that the provided object is a valid data frame. It checks that the data frame is
not NULL, that it is of class data.frame, and that it has at least one column and one row.
Value
This function does not return a value. It stops execution with an error message if any of the validations fail.
Examples
if (FALSE) { # \dontrun{
df <- data.frame(x = 1:10)
assert_is_valid_data_frame(df)
} # }