getArgs: Get provided arguments as a named list

View source: R/getArgs.R

getArgsR Documentation

Get provided arguments as a named list

Description

Get provided arguments as a named list

Usage

getArgs(call, env)

Arguments

call

Function call as provided by sys.call().

env

Environment in which to evaluate the arguments.

Value

A named list of arguments and their values

See Also

Other arguments: deprecatedArg()

Examples

afun <- function(){
NMdata:::getArgs(sys.call(),parent.frame())
}
afun()

philipdelff/NMdata documentation built on March 5, 2025, 12:20 a.m.