Build packages and publish to Acid Genomics repo
Usage
publish(package = getwd(), check = TRUE, tag = TRUE, pkgdown = TRUE)
Arguments
- package
character.
Directory paths to R package source code.
Vectorized, supporting the building of multiple packages in a single call.
- 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.
Value
logical(1).
Boolean, indicating if package build was successful.
Details
Delegates build, drat insert, S3 sync, and CloudFront invalidation to
koopa app r publish. Optional package checks and pkgdown site deployment
are handled in R before handing off to koopa.
Examples
## > publish(
## > package = file.path(
## > "~",
## > "monorepo",
## > "r-packages",
## > c(
## > "r-acidbase",
## > "r-basejump",
## > "r-koopa"
## > )
## > )
## > )