All Tools Bookmark


Facebook Share Twitter Share

assertthat: Easy pre and post assertions

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.