warnifnot {lares}R Documentation

Test the Truth of R Expressions and Warn

Description

If the expression in ... is not TRUE, warning is called, producing a warning message indicating the expression which was not true.

Usage

warnifnot(...)

Arguments

...

any R expression, which should evaluate to TRUE

See Also

Other Tools: autoline(), bind_files(), bring_api(), chr2num(), db_download(), db_upload(), export_plot(), export_results(), files_functions(), font_exists(), formatColoured(), formatHTML(), get_credentials(), glued(), grepm(), h2o_selectmodel(), haveInternet(), image_metadata(), importxlsx(), ip_data(), json2vector(), list_cats(), listfiles(), mail_send(), markdown2df(), move_files(), msplit(), myip(), quiet(), read.file(), statusbar(), tic(), try_require(), updateLares(), what_size()

Examples

warnifnot(TRUE)
warnifnot(FALSE)
warnifnot(1 + 1 == 3)

[Package lares version 5.2.8 Index]