warn {biodb}R 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})


[Package biodb version 1.2.1 Index]