R/check-data-frame.R
check_data_frame.Rd
Checks that data is a data frame.
check_data_frame(data, data_name = substitute(data))
The data frame to check.
A string of the name of data.
Throws an informative error or returns an invisible copy of data.