Skip to contents

Used in examples to illustrate when errors should occur.

Usage

should_stop(expr)

Arguments

expr

code to evaluate.

Examples

should_stop(stop("Hi!"))
should_stop(should_stop("Hi!"))
#> [1] "Hi!"