do_call: Variant of do.call that preserves argument names.

Description Usage Arguments Value

View source: R/utility.R

Description

The function base::do.call does not always work as intended. This is because it changes

Usage

1
do_call(.fn, .args = NULL, ..., .env = parent.frame())

Arguments

.fn

Function to call.

.args

List of arguments to .fn.

...

Further arguments to .fn.

.env

The environment where the call is to be evaluated.

Value

The effect of calling .fn with the supplied arguments in the specified environment.


JonasMoss/SPQR documentation built on Oct. 30, 2019, 7:58 p.m.