warn0: Throw a warning and log it too.

View source: R/fcts_biodb.R

warn0R Documentation

Throw a warning and log it too.

Description

Throws a warning and logs it too with biodb logger, using paste0().

Usage

warn0(...)

Arguments

...

Values to be passed to paste0().

Value

Nothing.

Examples

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


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