Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/helper_functions.R
Does a given expression return an error?
1 |
expr |
Expression to be tested for returning an error |
tell |
Logical: Should the error message be printed via |
force |
Logical: Should an error be returned if the expression is not an error? DEFAULT: FALSE |
Useful for tests where you want to make sure your function throws an error. This function was imported from the berryFunctions package.
TRUE/FALSE
Berry Boessenkool, berry-b@gmx.de, May 2016
Other helper functions:
key_valid()
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.