powered by
Check an object doesn't have any empty dimensions
not_empty(x)
object to test
Other assertions: are_equal, is.error, is.scalar, noNA
are_equal
is.error
is.scalar
noNA
# NOT RUN { not_empty(numeric()) not_empty(mtcars[0, ]) not_empty(mtcars[, 0]) # }
Run the code above in your browser using DataLab