-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
f <- function(x, ...) {
ellipsis::check_dots_used(action = rlang::warn)
}
f(z = 1)
#> Warning: 1 components of `...` were not used.
#>
#> We detected these problematic arguments:
#> * `z`
#>
#> Did you misspecify an argument?Can we make it this?
#> Warning: 1 components of `f(...)` were not used.
Probably also worth a refresh here to use our more modern style:
#> Warning: Some arguments in `f(...)` were not used.
#> x Unused arguments: `z`
#> i Did you misspecify an argument?Metadata
Metadata
Assignees
Labels
No labels