Learn R Programming

logger (version 0.2.2)

log_failure: Logs the error message to console before failing

Description

Logs the error message to console before failing

Usage

log_failure(expression)

Arguments

expression

call

Examples

Run this code
if (FALSE) {
log_failure('foobar')
log_failure(foobar)
}

Run the code above in your browser using DataLab