get_assert_method | R Documentation |
Match proper method depending on predicate type
get_assert_method(
predicate,
method = list(direct = assertr::assert, generator = assertr::insist)
)
predicate |
Predicate or predicate generator function. |
method |
optional list with fields direct and generator of assertions |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.