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

## Arguments

env Environment in which to look for .... The action to take when the dots have not been used. One of rlang::abort(), rlang::warn(), rlang::inform() or rlang::signal().

## Examples

f <- function(..., foofy = 8) {
check_dots_unnamed()
c(...)
}

f(1, 2, 3, foofy = 4)
#> [1] 1 2 3try(f(1, 2, 3, foof = 4))
#> Error : 1 components of ... had unexpected names.
#>
#> We detected these problematic arguments:
#> * foof
#>
#> Did you misspecify an argument?