Assertive Programming for R Analysis Pipelines


[Up] [Top]

Documentation for package ‘assertr’ version 1.0.2

Help Pages

assertr-package assertr: Assertive programming for R analysis pipeline.
assert Raises error if predicate is FALSE in any columns selected
assertr assertr: Assertive programming for R analysis pipeline.
assert_ Raises error if predicate is FALSE in any columns selected
assert_rows Raises error if predicate is FALSE for any row after applying row reduction function
assert_rows_ Raises error if predicate is FALSE for any row after applying row reduction function
insist Raises error if dynamically created predicate is FALSE in any columns selected
insist_ Raises error if dynamically created predicate is FALSE in any columns selected
insist_rows Raises error if dynamically created predicate is FALSE for any row after applying row reduction function
insist_rows_ Raises error if dynamically created predicate is FALSE for any row after applying row reduction function
in_set Returns TRUE if value in set
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
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