Check ... Used
Checks if is ... used using
length(list(...)) != 0L
chk_used(...) vld_used(...)
... |
Additional arguments. |
The chk_
function throws an informative error if the test fails.
The vld_
function returns a flag indicating whether the test was met.
vld_used
: Validate ... Used
Other chk_ellipsis:
chk_unused()
# chk_used fun <- function(x, ...) { chk_used(...) x } try(fun(1)) fun(1, 2) # vld_used fun <- function(x, ...) { vld_used(...) } fun(1) fun(1, 2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.