not_empty {assertthat}R Documentation

Check an object doesn't have any empty dimensions

Description

Check an object doesn't have any empty dimensions

Usage

not_empty(x)

Arguments

x

object to test

See Also

Other assertions: are_equal; is.count, is.flag, is.number, is.scalar, is.string; is.date, is.error, is.time; noNA

Examples

not_empty(numeric())
not_empty(mtcars[0, ])
not_empty(mtcars[, 0])

[Package assertthat version 0.1 Index]