fatal: Report or test a fatal condition

View source: R/fatal.R

fatalR Documentation

Report or test a fatal condition

Description

Report or test a fatal condition

Usage

fatal(..., sep = " ", caller = NULL)

fatalIf(cond, ..., caller = NULL)

fatalIfNot(cond, ..., caller = NULL)

Arguments

...

Passed to cat

sep

Separator, passed to cat (character)

caller

Name of calling function, defaults to name in caller's stack frame (character)

cond

Boolean expression that must be FALSE (fatalIf) or must be TRUE (fatalIfNot), otherwise a stop error is signalled


pteetor/tutils documentation built on April 25, 2024, 9:14 a.m.