A Lightweight Core of the 'assertive' Package


[Up] [Top]

Documentation for package ‘assertive.base’ version 0.0-9

Help Pages

are_identical Are the inputs identical?
are_identical_legacy Are the inputs identical?
assertionError Condition classes
assertionMessage Condition classes
assertionWarning Condition classes
assert_all_are_false Is the input TRUE/FALSE/NA?
assert_all_are_identical_legacy Are the inputs identical?
assert_all_are_na Is the input TRUE/FALSE/NA?
assert_all_are_not_false Is the input TRUE/FALSE/NA?
assert_all_are_not_na Is the input TRUE/FALSE/NA?
assert_all_are_not_true Is the input TRUE/FALSE/NA?
assert_all_are_true Is the input TRUE/FALSE/NA?
assert_any_are_false Is the input TRUE/FALSE/NA?
assert_any_are_identical_legacy Are the inputs identical?
assert_any_are_na Is the input TRUE/FALSE/NA?
assert_any_are_not_false Is the input TRUE/FALSE/NA?
assert_any_are_not_na Is the input TRUE/FALSE/NA?
assert_any_are_not_true Is the input TRUE/FALSE/NA?
assert_any_are_true Is the input TRUE/FALSE/NA?
assert_are_identical Are the inputs identical?
assert_engine Throws an error if a condition isn't met
assert_is_identical_to_false Is the input TRUE/FALSE/NA?
assert_is_identical_to_na Is the input TRUE/FALSE/NA?
assert_is_identical_to_true Is the input TRUE/FALSE/NA?
bapply Wrapper to vapply that returns booleans
call_and_name Call a function, and give the result names.
cause Get or set the '"cause"' attribute
cause<- Get or set the '"cause"' attribute
coerce_to Coerce variable to a different class
dont_stop Run code without stopping
false FALSE, with a cause of failure.
get_name_in_parent Get the name of a variable in the parent frame
is2 Alternative version of is
is_false Is the input TRUE/FALSE/NA?
is_identical_to_false Is the input TRUE/FALSE/NA?
is_identical_to_na Is the input TRUE/FALSE/NA?
is_identical_to_true Is the input TRUE/FALSE/NA?
is_na Is the input TRUE/FALSE/NA?
is_not_false Is the input TRUE/FALSE/NA?
is_not_na Is the input TRUE/FALSE/NA?
is_not_true Is the input TRUE/FALSE/NA?
is_true Is the input TRUE/FALSE/NA?
merge.list Merge two lists
merge_dots_with_list Merge ellipsis args with a list.
na NA, with a cause of failure.
parenthesise Wrap a string in brackets
parenthesize Wrap a string in brackets
print.scalar_with_cause Print methods for objects with a cause attribute
print.vector_with_cause Print methods for objects with a cause attribute
print_and_capture Print a variable and capture the output
safe_deparse Safe version of deparse
set_cause Set a cause and return the input
strip_attributes Strip all attributes from a variable
Truth Is the input TRUE/FALSE/NA?
use_first Only use the first element of a vector