callwith: Evaluate a function with a modified default values

Description Usage Arguments

View source: R/functions.R

Description

Evaluate a function with a modified default values

Usage

1
callwith(fun, args, dots = list(), keep.null = FALSE, envir = parent.frame())

Arguments

fun

either a function or a non-empty character string naming the function to be called

args

a list of values to modify the default arguments of the function

dots

the user-specific input (usually from ...)

keep.null

TRUE to keep NULL values after argument modifications

envir

the environment to evaluate the function call


rlist documentation built on Sept. 5, 2021, 5:30 p.m.