Assertive Programming for R Analysis Pipelines


[Up] [Top]

Documentation for package ‘assertr’ version 2.0.2.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
chaining_functions Chaining functions
chain_end Chaining functions
chain_start Chaining functions
col_concat Concatenate all columns of each row in data frame into a string
error_append Success and error functions
error_logical Success and error functions
error_report Success and error functions
error_return Success and error functions
error_stop Success and error functions
has_all_names Returns TRUE if data.frame or list has specified names
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
is_uniq Returns TRUE where no elements appear more than once
just_warn Success and error functions
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
success_continue Success and error functions
success_logical 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
warn_report Success and error functions
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