Package: assertr
Type: Package
Title: Assertive Programming for R Analysis Pipelines
Version: 1.0.0
Authors@R: person("Tony", "Fischetti", email="tony.fischetti@gmail.com",
role = c("aut", "cre"))
Maintainer: Tony Fischetti <tony.fischetti@gmail.com>
Description: Provides functionality to assert conditions
that have to be met so that errors in data used in
analysis pipelines can fail quickly. Similar to
'stopifnot()' but more powerful, friendly, and easier
for use in pipelines.
URL: https://github.com/tonyfischetti/assertr
BugReports: https://github.com/tonyfischetti/assertr/issues
License: MIT + file LICENSE
LazyData: TRUE
Imports:
dplyr,
MASS,
lazyeval
Suggests:
knitr,
testthat,
magrittr
VignetteBuilder: knitr
The assertr package supplies a suite of functions designed to verify assumptions about data early in an analysis pipeline to protect against common data errors and instances of bad data.
https://github.com/tonyfischetti/assertr
Any. Mostly in the form of
data.framesAnyone who has ever struggled with bad data
The
ensurerpackage attempts to solve the very same problem. To a certain extent, theassertivepackage also offer some similar capabilities. The difference betweenassertrand these other packages is the grammar of usage and the way that assertions of different types can be easily combined to express arbitrarily complex assertions in a very readable way.Yes. All the user-facing functions are in snake case, but the internal functions sometimes use dots (
.) as separators. I'm open to changing that. Also, the package doesn't have a code of conduct yet but I think it's a good idea to include.No
It already is
You bet
devtools::check()produce any errors or warnings? If so paste them below.No warnings