powered by
Checks if ... is unused
length(list(...)) == 0L
chk_unused(...)vld_unused(...)
vld_unused(...)
Additional arguments.
The chk_ function throws an informative error if the test fails.
chk_
The vld_ function returns a flag indicating whether the test was met.
vld_
vld_unused: Validate ... Unused
vld_unused
Other chk_ellipsis: chk_used()
chk_used()
# NOT RUN { # chk_unused fun <- function(x, ...) { chk_unused(...) x } fun(1) try(fun(1, 2)) # vld_unused fun <- function(x, ...) { vld_unused(...) } fun(1) try(fun(1, 2)) # }
Run the code above in your browser using DataLab