Skip to contents

Gives a warning if the object is NULL or empty and returns the object

Usage

warnIfEmpty(x)

Arguments

x

object to be tested for NULL or being empty (vector of length 0 or data frame with no rows)