Easy Pre and Post Assertions


[Up] [Top]

Documentation for package ‘assertthat’ version 0.2.0

Help Pages

%has_args% Check a function has specified arguments
%has_attr% Has attribute or name?
%has_name% Has attribute or name?
are_equal Are two objects equal?
assertions-file Useful test related to files
assert_that Assert that certain conditions are true.
has_args Check a function has specified arguments
has_attr Has attribute or name?
has_extension Useful test related to files
has_name Has attribute or name?
is.count Assert input is a scalar.
is.date Missing is functions.
is.dir Useful test related to files
is.error Missing is functions.
is.flag Assert input is a scalar.
is.number Assert input is a scalar.
is.readable Useful test related to files
is.scalar Assert input is a scalar.
is.string Assert input is a scalar.
is.time Missing is functions.
is.writeable Useful test related to files
noNA Does object contain any missing values?
not_empty Check an object doesn't have any empty dimensions
on_failure Custom failure messages for assertions.
on_failure<- Custom failure messages for assertions.
see_if Assert that certain conditions are true.
validate_that Validate that certain conditions are true.