validate_that is an alternative to the function
assert_that, that returns a
character vector. This
makes them easier to use within S4
unnamed expressions that describe the conditions to be tested.
Rather than combining expressions with
(advanced use only) the environment in which to evaluate the assertions.
a custom error message to be printed if one of the conditions is false.
character vector if the assertion is false, or
if the assertion is true.
assert_that, which returns an error if the condition
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.