noNA: Does object contain any missing values?

Description Usage Arguments See Also Examples

Description

Does object contain any missing values?

Usage

1
noNA(x)

Arguments

x

object to test

See Also

Other assertions: are_equal; is.count, is.flag, is.number, is.scalar, is.string; is.date, is.error, is.time; not_empty

Examples

1
2
3
4
see_if(noNA("a"))
see_if(noNA(c(TRUE, NA)))
x <- sample(c(1:10, NA), 100, rep = TRUE)
see_if(noNA(x))


Search within the assertthat package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.