cmd_args_dots: return function dots from parent function as named list

Description Usage Arguments Value Examples

View source: R/cmd_args.R

Description

return function dots from parent function as named list

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 kwargs from ...

Examples

1
2
theFunction <- function(...) { cmd_args_dots() }
theDots <-  theFunction(example = "hello", boolFlag = TRUE, vectorFlag = c(1,2,3))

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