.checkColumnValuesDF
applies the .checkColumnValues
function to all of the columns of a single dataset. It's a tryCatch
wrapper of .checkColumnValues
.
.checkColumnValuesDF(dat, dat_name = NULL)
A data frame.
Character string indicating the name of the dataset. Default is NULL.
Invisibly returns a list of error conditions (subclass "invalid_column_values"), and it also prints an error message if a column contains invalid values. If no errors are found, it returns NULL and a message indicating it.
.checkColumnValues
;
.checkColumnValuesDF
;
.checkColumnValuesList
Other check functions:
.checkColumnValues()
,
.checkColumnValuesList()
,
.checkRequiredColumns()
,
.checkRequiredColumnsDF()
,
.checkRequiredColumnsList()
if (FALSE) {
x <- physiologies("aerophilicity")[[1]]
err <- bugphyzz:::.checkColumnValuesDF(x)
}