File: not_empty.Rd

package info (click to toggle)
r-cran-assertthat 0.1-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 188 kB
  • sloc: sh: 9; makefile: 1
file content (26 lines) | stat: -rw-r--r-- 580 bytes parent folder | download | duplicates (2)
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}}
}