check_dots_unnamed

0th

Percentile

Check that all dots are unnamed

Named arguments in ... are often a sign of misspelled argument names.

Usage
check_dots_unnamed(env = parent.frame())
Arguments
env

Environment in which to look for ....

Aliases
  • check_dots_unnamed
Examples
# NOT RUN {
f <- function(..., foofy = 8) {
  check_dots_unnamed()
  c(...)
}

f(1, 2, 3, foofy = 4)
try(f(1, 2, 3, foof = 4))
# }
Documentation reproduced from package ellipsis, version 0.2.0.1, License: GPL-3

Community examples

Looks like there are no examples yet.