ropensci / spelling

Tools for Spell Checking in R
https://docs.ropensci.org/spelling
Other
107 stars 25 forks source link

Spellcheck fails with uninformative error #4

Closed hadley closed 5 years ago

hadley commented 6 years ago
> spelling::spell_check_package(pkg = ".", vignettes = TRUE, lang = "en_US")
Error in hunspell::dictionary(lang, add_words = sort(ignore)) : 
  unused argument (add_words = sort(ignore))
jeroen commented 5 years ago

I can't reproduce this but I think you were running an outdated version of hunspell. This was probably fixed in https://github.com/ropensci/spelling/commit/b2ce8e46ab46b4afe82c8d732303b57f24bb437f when we require at least hunspell 2.9.