Adds an architecture diagram skeleton to the current package: a vignette,
a pkgdown article entry, and (optionally) a chunk in README.Rmd.
Usage
use_c4r(
path = ".",
vignette = TRUE,
pkgdown = TRUE,
readme = FALSE,
template = "three_tier",
overwrite = FALSE
)Arguments
- path
Path to the package root. Defaults to the current directory.
- vignette
Add a starter vignette
vignettes/architecture.Rmd.- pkgdown
Add an "Architecture" entry to
_pkgdown.yml.- readme
Add a c4r chunk to
README.Rmd.- template
Starter template name (see
c4_list_templates()).- overwrite
Overwrite existing scaffolding files.