quit_on_failure: Quit on Failure

View source: R/quit_on_failure.R

quit_on_failureR Documentation

Quit on Failure

Description

Evaluate the given expression and if any of the returned values are FALSE then exit with status 1.

Usage

quit_on_failure(expr, n_br = 1)

Arguments

expr

Expression returning a logical vector

n_br

Number of leading and trailing blank lines to print

Details

This is needed when using ⁠check_*⁠ functions within a continuous integration pipeline to signal that a step failed.

Value

expr


rundel/checklist documentation built on Oct. 31, 2023, 9:26 a.m.