cmd_args_all: Return all named arguments and arguments passed as dots from...

Description Usage Arguments Value Examples

View source: R/cmd_args.R

Description

Return all named arguments and arguments passed as dots from parent function call

Usage

1

Arguments

keep

name of arguments to keep

drop

name of arguments to drop (NOTE: keep or drop are mutually exclusive settings)

Value

named list of all arguments passed to parent

Examples

1
2
theFunction <- function(arg1, ...) { cmd_args_all() }
theArgs <-  theFunction(arg1 = "test", example = "hello")

snystrom/dotargs documentation built on Oct. 18, 2020, 8:39 a.m.