Allow the named entries in ... to be used easily within a function by attaching them to the function's environment

extract_dots()

Value

No return value, called for it's side effect

Examples

f <- function(...) { a + b } if (FALSE) { # Throws an error because a and b are trapped inside `...` f(a = 1, b = 2) } f <- function(...) { extract_dots() a + b } f(a = 1, b = 2)
#> [1] 3