The package hunspell could be a great tool for package authors to use to spell-check their R documentation. Unfortunately, format = 'man' doesn't seem to do the trick:
It only seems to be picking up on URLs & coding terms (and format = 'text' does roughly the same)
Hmm. I think I misunderstood what hunspell_find is doing (thought it was a tokenizer to use before applying the spell checker, but it's the spellchecker itself). Reviewing ?hunspell again, it's still unclear to me that format = 'man' is the same as format = 'Rd' would be? Or is format = 'man' intended to work as a parser for command-line man pages? Documentation could go for some clarification.
The package
hunspell
could be a great tool for package authors to use to spell-check their R documentation. Unfortunately,format = 'man'
doesn't seem to do the trick:It only seems to be picking up on URLs & coding terms (and
format = 'text'
does roughly the same)Hmm. I think I misunderstood what
hunspell_find
is doing (thought it was a tokenizer to use before applying the spell checker, but it's the spellchecker itself). Reviewing?hunspell
again, it's still unclear to me thatformat = 'man'
is the same asformat = 'Rd'
would be? Or isformat = 'man'
intended to work as a parser for command-line man pages? Documentation could go for some clarification.