inbo / checklist

An R package for checking R packages and R code
https://inbo.github.io/checklist
GNU General Public License v3.0
16 stars 2 forks source link

Error: different `language` found in DESCRIPTION #137

Closed adamhsparks closed 1 month ago

adamhsparks commented 1 month ago

Using setup_package() results in this error. I found this issue, https://github.com/inbo/checklist/issues/100, that's a year old and says it's fixed.

My DESCRIPTION has

Encoding: UTF-8
Language: en-AU

It does the same with en-US as well.

ThierryO commented 1 month ago

Thank you for the feedback. Could you share your code or reproducible example? That would simplify my debugging work.

ThierryO commented 1 month ago

Can you test the version in the codeowners branch? remotes::install_github("inbo/checklist@codeowners"). The code only tested with en-GB, nl-BE and fr-FR. Spell checking might not work with other variants of these languages. Installing the correct hunspell dictionary should be sufficient. Non spellcheck functions should not be affected.

adamhsparks commented 1 month ago

Ah. I’ll check. Mine would be en-AU