publish | R Documentation |
Build packages and publish to Acid Genomics repo
publish(
package = getwd(),
repo = file.path("~", "monorepo", "r-acidgenomics-com"),
check = TRUE,
tag = TRUE,
pkgdown = TRUE,
deploy = TRUE
)
package |
|
repo |
|
check |
|
tag |
|
pkgdown |
|
deploy |
|
logical(1)
.
Boolean, indicating if package build was successful.
R CMD build ~/monorepo/r-packages/r-syntactic R CMD INSTALL --build syntactic_0.5.2.tar.gz R CMD check --as-cran syntactic_0.5.2.tar.gz # How to install from source: R CMD INSTALL syntactic_0.5.2.tar.gz # Or how to install binary (on macOS). R CMD INSTALL syntactic_0.5.2.tgz
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.
Updated 2023-02-09.
https://seandavi.github.io/post/build-linux-r-binary-packages/
https://rstudio.github.io/r-manuals/r-exts/Creating-R-packages.html
## > publish(
## > package = file.path(
## > "~",
## > "monorepo",
## > "r-packages",
## > c(
## > "r-acidbase",
## > "r-basejump",
## > "r-koopa"
## > )
## > )
## > )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.