This function aims at processing vignette (building, organizing) before pushing on Github so that user can download a package with pre-compiled vignette. Using the website argument allow to build the associated website.
Arguments
- article
The name or the path to the
.Rmdfile to be compiled- website
A boolean to compile the website associated with the article
- vignette
A boolean to compile the vignette associated with the article
- clean
Logical to remove cache and temporary files
Details
To make sure pre-compiled vignette are enclosed within the package
downloaded from Github, vignette are (i) compiled with tools::buildVignettes,
(ii) then copy-paste to inst\doc. To build the website, this function
first converts README.Rmd file to README.md file, and then calls
pkgdown::build_site() since this function only take into account *.md.
