Learn R Programming

nc (version 2019.9.16)

try_or_stop_print_pattern: try or stop print pattern

Description

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.

Usage

try_or_stop_print_pattern(expr, pat, engine)

Arguments

expr
pat
engine