try_or_stop_print_pattern | R Documentation |
Try to run a capture function. If it fails we wrap the error message with a more informative message that also includes the generated pattern.
try_or_stop_print_pattern(expr,
pat, engine)
expr |
expression to try. |
pat |
regex pattern string. |
engine |
string: regex |
Toby Hocking <toby.hocking@r-project.org> [aut, cre]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.