These GitHub actions are useful for running continuous integration tasks, narrowly defined, such as building, installing and checking.
This GitHub action installs R package dependencies from a DESCRIPTION
at the repository root.
Notice that this action installs R packages with R package dependencies, not system dependencies.
R_LIBS
, a vector of paths prepended to existing .libPaths()
.
Defaults to R_LIBS_WORKFLOW
([$HOME](https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/#filesystem)/lib/R/library
) where they persist over the run of the workflow. All earlier or later actions that have R_LIBS_WORKFLOW
in their .libPaths()
can install to or load from this path.
For more details, read the vignette on action isolation.
GitHub actions currently has no native caching support. For more information, read the vignette on performance.
This GitHub action builds an R Package expected at the repository root.
R_LIBS
, a vector of paths prepended to existing .libPaths()
.
Defaults to R_LIBS_WORKFLOW
([$HOME](https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/#filesystem)/lib/R/library
) where they persist over the run of the workflow. All earlier or later actions that have R_LIBS_WORKFLOW
in their .libPaths()
can install to or load from this path.
For more details, read the vignette on action isolation.
action “Build Package” { uses = “r-lib/ghactions/actions/build@master” }
This GitHub action tests an R package at the repository root.
R_LIBS
, a vector of paths prepended to existing .libPaths()
.
Defaults to R_LIBS_WORKFLOW
([$HOME](https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/#filesystem)/lib/R/library
) where they persist over the run of the workflow. All earlier or later actions that have R_LIBS_WORKFLOW
in their .libPaths()
can install to or load from this path.
For more details, read the vignette on action isolation.
This GitHub action installs an R source package from the repository root.
R_LIBS
, a vector of paths prepended to existing .libPaths()
.
Defaults to R_LIBS_WORKFLOW
([$HOME](https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/#filesystem)/lib/R/library
) where they persist over the run of the workflow. All earlier or later actions that have R_LIBS_WORKFLOW
in their .libPaths()
can install to or load from this path.
For more details, read the vignette on action isolation.
This GitHub action renders a documentation website for an R package at the repository root using pkgdown.
R_LIBS
, a vector of paths prepended to existing .libPaths()
.
Defaults to R_LIBS_WORKFLOW
([$HOME](https://developer.github.com/actions/creating-github-actions/accessing-the-runtime-environment/#filesystem)/lib/R/library
) where they persist over the run of the workflow. All earlier or later actions that have R_LIBS_WORKFLOW
in their .libPaths()
can install to or load from this path.
For more details, read the vignette on action isolation.