Learn R Programming

origami (version 1.0.7)

wrap_in_try: 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.