assertthat

Easy Pre and Post Assertions

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's gone wrong.

Total

11,723,052

Last month

631,506

Last week

116,453

Average per day

21,050

Daily downloads

Total downloads

Description file content

Package
assertthat
Title
Easy Pre and Post Assertions
Version
0.2.1
Description
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's gone wrong.
License
GPL-3
Imports
tools
Suggests
testthat, covr
RoxygenNote
6.0.1
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'
NeedsCompilation
no
Packaged
2019-03-21 13:11:01 UTC; hadley
Author
Hadley Wickham [aut, cre]
Maintainer
Hadley Wickham
Repository
CRAN
Date/Publication
2019-03-21 14:53:46 UTC

install.packages('assertthat')

0.2.1

2 months ago

Hadley Wickham

GPL-3

Imports

tools

Suggests

testthat, covr

Discussions