[R-pkg-devel] Spell Check with Hunspell on Windows
Kevin R. Coombes
kev|n@r@coombe@ @end|ng |rom gm@||@com
Tue Aug 20 17:51:03 CEST 2024
Hi,
This is a follow-up to an earlier question where I asked about R CMD
check on Windows to be able to check R packages in a manner closer to
the checks on CRAN machines before i submit (new or updated) packages.
From the answers to the previous question, I learned the (magic)
environment variable to set in order to trigger spell checks.
So, I then managed to install "hunspell" n my Windows machine. I have
confirmed that hunspell works
* from the command line
* inside emacs
* inside R when running the "aspell" (or "hunspell") command to check
files. (Note that I do not need to set the "program" argument to
aspell in order for this to work.)
However, when I run R CMD check from the command line, I get the message:
''No suitable spell-checker program found."
Is there some other environment variable or command line option that I
have to set in order to get R CMD check to use "hunspell" instead of
"aspell" or "ispell"?
Thanks,
Kevin
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list