cmd_args_dots {cmdfun}R Documentation

return function dots from parent function as named list

Description

return function dots from parent function as named list

Usage

cmd_args_dots(keep = NULL, drop = NULL)

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

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

[Package cmdfun version 1.0.2 Index]