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.
|Author||'Hadley Wickham' [aut, cre]|
|Date of publication||2013-12-06 00:51:10|
|Maintainer||'Hadley Wickham' <email@example.com>|
are_equal: Are two objects equal?
assertions-file: Useful test related to files
assert-is: Missing is functions.
assert_that: Assert that certain conditions are true.
has_args: Check a function has specified arguments
has_attr: Has attribute or name?
noNA: Does object contain any missing values?
not_empty: Check an object doesn't have any empty dimensions
on_failure: Custom failure messages for assertions.
scalar: Assert input is a scalar.
validate_that: Validate that certain conditions are true.