wrap_in_try: Wrap a Function in a Try Statement

View source: R/utils.R

wrap_in_tryR Documentation

Wrap a Function in a Try Statement

Description

Function factory that generates versions of functions wrapped in try.

Usage

wrap_in_try(fun, ...)

Arguments

fun

A function to be wrapped in a try statement.

...

Additional arguments passed to the previous argument fun.


origami documentation built on Oct. 20, 2022, 1:07 a.m.