Learn R Programming

ggplot2 (version 2.1.0)

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
should_stop(stop("Hi!"))
should_stop(should_stop("Hi!"))

Run the code above in your browser using DataLab