assert-is: Missing is functions.

Description Usage Arguments See Also Examples

Description

Missing is functions.

Usage

1
2
3
4
5

Arguments

x

object to test

See Also

Other assertions: are_equal, is.scalar, noNA, not_empty

Examples

1
2
3
4
5
6
a <- Sys.time()
is.time(a)
b <- Sys.Date()
is.date(b)
c <- try(stop("!!"))
is.error(c)

hadley/assertthat documentation built on June 5, 2019, 2:02 p.m.