Sometimes you just want to use ...
to force your users to fully name
the details arguments. This function warns if ...
is not empty.
env | Environment in which to look for |
---|---|
action | The action to take when the dots have not been used. One of
|
#> Error : `...` is not empty. #> #> We detected these problematic arguments: #> * `foof` #> #> These dots only exist to allow future extensions and should be empty. #> Did you misspecify an argument?f(1, foofy = 4)#> [1] 5