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_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 |
defect_append |
Success and error functions |
defect_df_return |
Success and error functions |
defect_report |
Success and error functions |
duplicates_across_cols |
Checks if row contains at least one value duplicated in its column |
error_append |
Success and error functions |
error_df_return |
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 |
generate_id |
Generates random ID string |
has_all_names |
Returns TRUE if data.frame or list has specified names |
has_class |
Returns TRUE if data.frame columns have a specified class |
has_only_names |
Returns TRUE if data.frame or list has only the specified names |
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 |
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_defect |
Printing assertr's defect |
print.assertr_success |
Printing assertr's success |
print.assertr_verify_error |
Printing assertr's verify errors |
success_and_error_functions |
Success and error functions |
success_append |
Success and error functions |
success_continue |
Success and error functions |
success_df_return |
Success and error functions |
success_logical |
Success and error functions |
success_report |
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 |
warning_append |
Success and error functions |
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 |