use_spell_check | R Documentation |
Adds a unit test to automatically run a spell check on documentation and,
optionally, vignettes during R CMD check
, using the
spelling package. Also adds a WORDLIST
file to the package, which is a dictionary of whitelisted words. See
spelling::wordlist for details.
use_spell_check(vignettes = TRUE, lang = "en-US", error = FALSE)
vignettes |
Logical, |
lang |
Preferred spelling language. Usually either |
error |
Logical, indicating whether the unit test should fail if
spelling errors are found. Defaults to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.