Skip to content

Commit

Permalink
stringi now errors on extra args!
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 20, 2023
1 parent a3ae327 commit a1eedc8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dots-inspect.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,14 @@ But most of the arguments in `stri_opts_collator()` are sufficiently arcane that

(The importance of the `locale` argument comes up in "hidden inputs", @sec-inputs-explicit.)

TODO: Update this!
It's now wrong!

However, `stri_opts_collator()` deliberately ignores any arguments in `...`.
This means that misspellings are silently ignored:

```{r}
#| eval: false
str_sort(x, numric = TRUE)
```

Expand Down

0 comments on commit a1eedc8

Please sign in to comment.