return function dots from parent function as named list
cmd_args_dots(keep = NULL, drop = NULL)
keep | name of arguments to keep |
---|---|
drop | name of arguments to drop (NOTE: keep or drop are mutually exclusive settings) |
named list of kwargs from ...
theFunction <- function(...) { cmd_args_dots() } theDots <- theFunction(example = "hello", boolFlag = TRUE, vectorFlag = c(1,2,3))