callwith: Evaluate a function with a modified default values

View source: R/functions.R

callwithR Documentation

Evaluate a function with a modified default values

Description

Evaluate a function with a modified default values

Usage

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


renkun-ken/rlist documentation built on March 16, 2023, 8:25 p.m.