silent_attempt: Silently attempt

silent_attemptR Documentation

Silently attempt

Description

A wrapper around silently and attempt

Usage

silent_attempt(...)

Arguments

...

the expression to evaluate

Value

an error if any, a warning if any.

Examples

## Not run: 
silent_attempt(warn("nop!"))

## End(Not run)


ColinFay/trycatchthis documentation built on Dec. 31, 2022, 3:59 a.m.