Adds the package doc R/<package>-package.R
,
README.Rmd
, Code of Conduct, and NEWS.md
documents.
Spellcheck is also added usig this function.
setup_package_docs(open = FALSE, spellcheck_vignettes = TRUE)
open | Open the newly created file for editing? Happens in RStudio, if
applicable, or via |
---|---|
spellcheck_vignettes | Spell check is automatically enabled for the new package, but if TRUE, will also spellcheck all rmd and rnw files in the vignettes/ folder. |