stopif: Stop if the expression is 'TRUE'.

Description Usage Arguments Details

View source: R/util.R

Description

Stop if the expression is TRUE.

Usage

1

Arguments

expression

R expression to be tested.

Details

This function is based on the R base function stopifnot, but is defined only for the simple case of a single expression. It should be used to avoid confusing double negatives.


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.