warn: Throw a warning and log it too.

View source: R/fcts_biodb.R

warnR Documentation

Throw a warning and log it too.

Description

Throws a warning and logs it too with biodb logger.

Usage

warn(...)

Arguments

...

Values to be passed to sprintf().

Value

Nothing.

Examples

# Throws a warning:
tryCatch(biodb::warn('Index is %d.', 10), warning=function(w){w$message})


pkrog/biodb documentation built on Nov. 29, 2022, 4:24 a.m.