The ExtraAssertions package includes a number of useful functions that can be used with Hadley's assertthat package.

Install from github using the devtools package:

install.packages("assertthat")
devtools::install_github("MalteThodberg/ExtraAssertions")

The currently implemented new assertions are:



MalteThodberg/ExtraAssertions documentation built on May 8, 2019, 3:36 p.m.