error-wrappers: Stop / Warning / Message Wrappers

Description Usage Arguments

Description

These are simple wrappers to functions stop, warning, and message.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
stopf(fmt, ...)

warnf(fmt, ...)

messagef(fmt, ...)

stop_if(expr, fmt, ...)

warn_if(expr, fmt, ...)

message_if(expr, fmt, ...)

Arguments

expr

An expression to be evaluated and checked for 'truthiness'.

fmt

A character vector of format strings. Passed to gettextf.

...

Optional arguments passed to gettextf.


kevinushey/Kmisc documentation built on May 20, 2019, 9:08 a.m.