Build packages and publish to Acid Genomics repo
Usage
publish(
package = getwd(),
repo = Sys.getenv("ACIDGENOMICS_REPO"),
check = TRUE,
tag = TRUE,
pkgdown = TRUE,
deploy = TRUE
)Arguments
- package
character. Directory paths to R package source code. Vectorized, supporting the building of multiple packages in a single call.- repo
character(1). Directory path to local R repository (e.g."r-acidgenomics-com").- check
logical(1). Perform package checks prior to building package.- tag
logical(1). Tag release on GitHub.- pkgdown
logical(1). Build pkgdown website, if supported.- deploy
logical(1). Deploy (push) the local repo to AWS S3.
Building vignettes
If you run into problems with a vignette index not being detected, make sure
the .Rbuildignore file does not contain ^vignettes$. Ignoring ^Meta$
and ^doc$ is acceptable though.
Note that devtools::build currently doesn't handle building vignettes
for binary packages correctly.