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

[Package biodb version 1.2.2 Index]