Update package inst/WORDLIST with words from spell_check_notebooks().
Usage
update_wordlist_notebooks(
pkg = ".",
vignettes = TRUE,
path = "analysis",
regexp = "[.][Rq]md$",
confirm = TRUE
)Arguments
- pkg
path to package root directory containing the
DESCRIPTIONfile- vignettes
check all
rmdandrnwfiles in the pkg root directory (e.g.readme.md) and packagevignettesfolder.- path
A character vector of one or more paths.
- regexp
A regular expression (e.g.
[.]csv$) passed on togrep()to filter paths.- confirm
show changes and ask confirmation before adding new words to the list
Details
update_wordlist_notebooks is a customized version of spelling::update_wordlist() using
code from wordlist.R.
