wrap_expect_no_error: Wraps an example expression in a testthat expectation to not error
Description
Wraps an example expression in a testthat expectation to not error
Usage
wrap_expect_no_error(expr, value)
Arguments
- expr
An expression to wrap in a expect_no_error() expectation. Uses
testthats version if recent enough version is available, or provides
a fallback otherwise.
- value
A symbol to use to store the result of expr