View source: R/add_compendium.R
| add_compendium | R Documentation |
This function creates a compendium, i.e. additional folders to a package
structure. By default, the following directories are created:
data, analyses/, outputs/, and figures/. A README.md is added to
each folder and must be edited. The argument compendium allows user to
hoose its own compendium structure. All theses folders are added to the
.Rbuildignore file.
add_compendium(compendium = NULL, quiet = FALSE)
compendium |
A character vector specifying the folders to be created. |
quiet |
A logical value. If |
No return value.
Other create files:
add_citation(),
add_code_of_conduct(),
add_contributing(),
add_description(),
add_dockerfile(),
add_license(),
add_makefile(),
add_package_doc(),
add_readme_rmd(),
add_renv(),
add_testthat(),
add_vignette()
## Not run:
add_compendium()
add_compendium(compendium = "paper")
add_compendium(compendium = c("data", "outputs", "code", "manuscript"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.