Used in examples to illustrate when errors should occur.

Description

Used in examples to illustrate when errors should occur.

Usage

1
should_stop(expr)

Arguments

expr

code to evaluate.

Examples

1
2
should_stop(stop("Hi!"))
should_stop(should_stop("Hi!"))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.