Aliases: check_dots_empty
Keywords:
### ** Examples f <- function(x, ..., foofy = 8) { check_dots_empty() x + foofy } # This fails because `foofy` can't be matched positionally try(f(1, 4))
Error in f(1, 4) : `...` must be empty. ✖ Problematic argument: • ..1 = 4 ℹ Did you forget to name an argument?
# This fails because `foofy` can't be matched partially by name try(f(1, foof = 4))
Error in f(1, foof = 4) : `...` must be empty. ✖ Problematic argument: • foof = 4
# Thanks to `...`, it must be matched exactly f(1, foofy = 4)
[1] 5