1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
\name{not_empty}
\alias{not_empty}
\title{Check an object doesn't have any empty dimensions}
\usage{
not_empty(x)
}
\arguments{
\item{x}{object to test}
}
\description{
Check an object doesn't have any empty dimensions
}
\examples{
not_empty(numeric())
not_empty(mtcars[0, ])
not_empty(mtcars[, 0])
}
\seealso{
Other assertions: \code{\link{are_equal}};
\code{\link{is.count}}, \code{\link{is.flag}},
\code{\link{is.number}}, \code{\link{is.scalar}},
\code{\link{is.string}}; \code{\link{is.date}},
\code{\link{is.error}}, \code{\link{is.time}};
\code{\link{noNA}}
}
|