powered by
Missing is functions.
is.error(x)is.time(x)is.date(x)
is.time(x)
is.date(x)
object to test
Other assertions: are_equal, is.scalar, noNA, not_empty
are_equal
is.scalar
noNA
not_empty
# NOT RUN { a <- Sys.time() is.time(a) b <- Sys.Date() is.date(b) c <- try(stop("!!")) is.error(c) # }
Run the code above in your browser using DataLab