assert-is {assertthat}R Documentation

Missing is functions.

Description

Missing is functions.

Usage

is.error(x)

is.time(x)

is.date(x)

Arguments

x

object to test

See Also

Other assertions: are_equal; is.count, is.flag, is.number, is.scalar, is.string; noNA; not_empty

Examples

a <- Sys.time()
is.time(a)
b <- Sys.Date()
is.date(b)
c <- try(stop("!!"))
is.error(c)

[Package assertthat version 0.1 Index]