R/main.R
warnIfEmpty.Rd
Gives a warning if the object is NULL or empty and returns the object
warnIfEmpty(x)
object to be tested for NULL or being empty (vector of length 0 or data frame with no rows)