args_to_fun: Pass arguments from caller environment to another function

View source: R/args_to_fun.R

args_to_funR Documentation

Pass arguments from caller environment to another function

Description

This function is useful when you want to pass all named arguments from a function to another function. I've used this in the pass when you have a wrapper for another function with the exact same arguments, but may be preferred to ... as it is more explicit

Usage

args_to_fun(fun)

Arguments

fun

string referencing function name to pass arguments to.


WhiteJP/jpw documentation built on April 17, 2025, 5:47 a.m.