z-build_and_rebuild_package.Rmd
This code is used to build, re-build, and trouble shoot the building of the package, including
These are mostly commands that can be launched from within RStudio via the GUI, except pkgdown::build_site()
“This uses a fairly rudimentary algorithm where any files in ‘inst/doc’ with a name that exists in ‘vignettes’ are removed.”
devtools::clean_vignettes()
“Builds package vignettes using the same algorithm that R CMD build does”
devtools::build_vignettes()
devtools::load_all(".")
pkgdown::build_site()