This function adds a vignette in the folder vignettes/. It also adds
dependencies knitr and
rmarkdown in the
field Suggests of the DESCRIPTION file (if not already present in
fields Imports).
Arguments
- filename
A character of length 1. The name of the
.Rmdfile to be created. IfNULL(default ) the.Rmdfile will be namedpkg.Rmdwherepkgis your package name.- title
A character of length 1. The title of the vignette. If
NULL(default) the title will beGet started.- open
A logical value. If
TRUE(default) the file is opened in the editor.- overwrite
A logical value. If this file is already present and
overwrite = TRUE, it will be erased and replaced. Default isFALSE.- quiet
A logical value. If
TRUEmessages are deleted. Default isFALSE.
See also
Other create files:
add_citation(),
add_code_of_conduct(),
add_compendium(),
add_contributing(),
add_description(),
add_dockerfile(),
add_license(),
add_makefile(),
add_package_doc(),
add_readme_rmd(),
add_renv(),
add_testthat()
