View source: R/expect-self-test.R
expect_success | R Documentation |
Use these expectations to test other expectations.
Use show_failure()
in examples to print the failure message without
throwing an error.
expect_success(expr)
expect_failure(expr, message = NULL, ...)
show_failure(expr)
expr |
Expression that evaluates a single expectation. |
message |
Check that the failure message matches this regexp. |
... |
Other arguments passed on to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.