assert-is.Rd
Missing is functions.
is.error(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
a <- Sys.time() is.time(a) #> [1] TRUE b <- Sys.Date() is.date(b) #> [1] TRUE c <- try(stop("!!")) #> Error in try(stop("!!")) : !! is.error(c) #> [1] TRUE