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.

Total

3,999,547

Last month

144,215

Last week

34,048

Average per day

4,807

Daily downloads

Total downloads

Description file content

Package
assertthat
Title
Easy Pre and Post Assertions
Version
0.2.0
Description
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.
License
GPL-3
Imports
tools
Suggests
testthat
Collate
'assert-that.r' 'on-failure.r' 'assertions-file.r' 'assertions-scalar.R' 'assertions.r' 'base.r' 'base-comparison.r' 'base-is.r' 'base-logical.r' 'base-misc.r' 'utils.r' 'validate-that.R'
RoxygenNote
6.0.1
NeedsCompilation
no
Packaged
2017-04-10 19:00:43 UTC; hadley
Author
Hadley Wickham [aut, cre]
Maintainer
Hadley Wickham
Repository
CRAN
Date/Publication
2017-04-11 21:28:45 UTC

install.packages('assertthat')

0.2.0

4 months ago

Hadley Wickham

GPL-3

Imports

tools

Suggests

testthat

Discussions