return function dots from parent function as named list

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))