ggplot2 (version 3.3.5)

should_stop: Used in examples to illustrate when errors should occur.

Description

Used in examples to illustrate when errors should occur.

Usage

should_stop(expr)

Arguments

expr

code to evaluate.

Examples

# NOT RUN {
should_stop(stop("Hi!"))
should_stop(should_stop("Hi!"))
# }