factory: Create functions that capture their values, errors, and...

Description Usage Arguments Value Author(s)

View source: R/utils.r

Description

Convert plain old functions into functions that capture their values, errors, and warnings. Comes from: https://stackoverflow.com/questions/4948361/how-do-i-save-warnings-and-errors-as-output-from-a-function

Usage

1
factory(fun)

Arguments

fun

A function

Value

A function

Author(s)

David Hajage


eusebe/biostat2 documentation built on Dec. 27, 2019, 4:22 p.m.