assertr: Assertive Programming for R Analysis Pipelines
Version 2.0.2

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.

Browse man pages Browse package API and functions Browse package files

AuthorTony Fischetti [aut, cre]
Date of publication2017-03-23 06:18:00 UTC
MaintainerTony Fischetti <tony.fischetti@gmail.com>
LicenseMIT + file LICENSE
Version2.0.2
URL https://github.com/ropensci/assertr
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("assertr")

Man pages

assert: Raises error if predicate is FALSE in any columns selected
assertr: assertr: Assertive programming for R analysis pipeline.
assert_rows: Raises error if predicate is FALSE for any row after applying...
chaining_functions: Chaining functions
col_concat: Concatenate all columns of each row in data frame into a...
has_all_names: Returns TRUE if data.frame or list has specified names
in_set: Returns TRUE if value in set
insist: Raises error if dynamically created predicate is FALSE in any...
insist_rows: Raises error if dynamically created predicate is FALSE for...
is_uniq: Returns TRUE where no elements appear more than once
maha_dist: Computes mahalanobis distance for each row of data frame
not_na: Returns TRUE if value is not NA
num_row_NAs: Counts number of NAs in each row
print.assertr_assert_error: Printing assertr's assert errors
print.assertr_verify_error: Printing assertr's verify errors
success_and_error_functions: Success and error functions
summary.assertr_assert_error: Summarizing assertr's assert errors
summary.assertr_verify_error: Summarizing assertr's verify errors
verify: Raises error if expression is FALSE anywhere
within_bounds: Creates bounds checking predicate
within_n_mads: Return a function to create robust z-score checking predicate
within_n_sds: Return a function to create z-score checking predicate

Functions

apply.predicate.to.vector Source code
assert Man page Source code
assert_ Man page Source code
assert_rows Man page Source code
assert_rows_ Man page Source code
assertr Man page
assertr-package Man page
chain_end Man page Source code
chain_start Man page Source code
chaining_functions Man page
col_concat Man page Source code
error_append Man page Source code
error_logical Man page Source code
error_report Man page Source code
error_return Man page Source code
error_stop Man page Source code
has_all_names Man page Source code
in_set Man page Source code
insist Man page Source code
insist_ Man page Source code
insist_rows Man page Source code
insist_rows_ Man page Source code
is.vectorized.predicate Source code
is_uniq Man page Source code
just_warn Man page Source code
maha_dist Man page Source code
make.assertr.assert.error Source code
make.assertr.assert_rows.error Source code
make.assertr.verify.error Source code
make.predicate.proper Source code
not_na Man page Source code
num_row_NAs Man page Source code
print.assertr_assert_error Man page Source code
print.assertr_verify_error Man page Source code
success_and_error_functions Man page
success_continue Man page Source code
success_logical Man page Source code
summary.assertr_assert_error Man page Source code
summary.assertr_verify_error Man page Source code
verify Man page Source code
warn_report Man page Source code
within_bounds Man page Source code
within_n_mads Man page Source code
within_n_sds Man page Source code

Files

inst
inst/doc
inst/doc/assertr.html
inst/doc/assertr.Rmd
inst/doc/assertr.R
tests
tests/testthat.R
tests/testthat
tests/testthat/test-predicates.R
tests/testthat/test-assertions.R
tests/testthat/test-row-redux.R
NAMESPACE
NEWS
R
R/utils.R
R/errors.R
R/assertions.R
R/row-redux.R
R/predicates.R
R/assertr.R
vignettes
vignettes/assertr.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/in_set.Rd
man/within_n_sds.Rd
man/summary.assertr_verify_error.Rd
man/within_bounds.Rd
man/assert.Rd
man/within_n_mads.Rd
man/is_uniq.Rd
man/col_concat.Rd
man/success_and_error_functions.Rd
man/maha_dist.Rd
man/has_all_names.Rd
man/not_na.Rd
man/summary.assertr_assert_error.Rd
man/assert_rows.Rd
man/insist.Rd
man/chaining_functions.Rd
man/verify.Rd
man/insist_rows.Rd
man/print.assertr_verify_error.Rd
man/print.assertr_assert_error.Rd
man/num_row_NAs.Rd
man/assertr.Rd
LICENSE
assertr documentation built on May 20, 2017, 1:54 a.m.