R/ChromBackend-functions.R
validChromData.Rd
validChromData()
checks that columns, representing core chromatogram
variables are of the correct data type.
validChromData(x = data.frame(), error = TRUE)
data.frame
representing metadata of a Chromatograms
logical(1)
whether an error should be thrown (the default)
if one or more columns don't have the correct data type.
If core variables have all the correct data type: an empty character.
If one or more core variables (columns) have the wrong data type the
function either throws an error (with error = TRUE
) or returns a
character
specifying which variables/columns don't have the correct
type (for error = FALSE
).