insightsengineering/R Image Creator
Create R images on demand, given a base R image, a set of system dependencies, and an renv lock file.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 3, 2026
- License
- Apache 2.0
Pinned Snippet
uses: insightsengineering/r-image-creator@039f36374307d07cce2ea11d3d5456087acac634 # v1.6.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| image-name | name of the image that will be stored into ghcr | no | rocker/rstudio:4.3.0 |
| repository-owner | Repository owner (image will be pushed on ghcr/repository-owner) | yes | — |
| repo-user | User access project container registry. Github variable `github.actor` can be used. | yes | — |
| repo-token | Token to access project container registry. Github variable `GITHUB_TOKEN` can be used. | yes | — |
| tag | Custom Image Tag/Version. Defaults to current date in the `YYYY.MM.DD` format if unspecified. | no | "" |
| tag-latest | Tag image as `latest` | no | false |
| base-image | Base image | no | rocker/rstudio:4.3.0 |
| sysdeps | A list of system dependencies to install on the image. This should be a comma-separated list of sysdeps. Eg: 'libxml2,adoptopenjdk-8,tcltk' Note that the sysdeps name should be OS-specific. Right now, only Debian OSes (installable via apt) are supported. | no | None |
| renv-lock-file | A location of an renv.lock file that should be restored on the image. This can also be a remote location (i.e. a GitHub raw URL etc). | no | None |
| description-file | A location of a package DESCRIPTION file. all specified dependencies will be installed | no | None |
| packages | A comma-separated list of R packages that should be installed on the image. Dependencies will be fetched from the 'repos' option specified below. Can be also a remote location (i.e. a GitHub raw URL etc). Eg: 'pharmaverse/admiral,pharmaverse/admiralonco,dplyr' | no | None |
| repos | A comma-separated set of R package repository URLs that can be used for getting dependencies for the 'packages' installed. Eg: 'https://cloud.r-project.org,https://cran.r-project.org' | no | https://cloud.r-project.org |
| platforms | A comma-separated list of platforms e.g. `linux/amd64,linux/arm64` that should be supported in Build job.' | no | linux/amd64 |
| renv-version | A renv version used to restore an environment.' | no | 1.0.3 |
Outputs
no outputs