Learn R Programming

ggplot2 (version 3.3.3)

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

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

Run the code above in your browser using DataLab