assertthat: Easy Pre and Post Assertions
Version 0.2.0

assertthat is an extension to stopifnot() that makes it easy to declare the pre and post conditions that you code should satisfy, while also producing friendly error messages so that your users know what they've done wrong.

Getting started

Package details

AuthorHadley Wickham [aut, cre]
Date of publication2017-04-11 21:28:45 UTC
MaintainerHadley Wickham <[email protected]>
LicenseGPL-3
Version0.2.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("assertthat")

Try the assertthat package in your browser

Any scripts or data that you put into this service are public.

assertthat documentation built on May 29, 2017, 8:41 p.m.