insightsengineering/Setup R dependencies
GitHub Action to install R package dependencies
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 3, 2026
- License
- Apache 2.0
Pinned Snippet
uses: insightsengineering/setup-r-dependencies@47235b81d6af3f63d38523dd1f8c09dc9150b76a # v1.4.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| repository-path | Directory where the R package is located relative to the calling GitHub workflow workspace. | no | . |
| lookup-refs | List of package references to be used for the feature branch. Multiple entries in new lines or separated by commas. Only GitHub references are supported. | no | "" |
| dependencies | Passed to `r-lib/actions/setup-r-dependencies`. | no | "all" |
| extra-packages | Passed to `r-lib/actions/setup-r-dependencies`. | no | "" |
| install-quarto | Passed to `r-lib/actions/setup-r-dependencies`. | no | auto |
| cache-version | Passed to `r-lib/actions/setup-r-dependencies`. | yes | 1 |
| needs | Passed to `r-lib/actions/setup-r-dependencies`. The value will be amended by `DepsBranch` and `DepsDev` values. | no | "" |
| skip-desc-branch | Skip the DESCRIPTION file modification for the feature branch. | no | false |
| skip-desc-dev | Skip the DESCRIPTION file modification for the development branch. | no | false |
| skip-install | Skip the installation of R package dependencies. | no | false |
| max-iter | Maximum number of iterations to resolve dependencies. | no | 10 |
| repository-list | Comma-separated list of pkgcache-compatible repository names from which the dependencies will be downloaded. Optionally, list elements can be named in the form of `name=repo_name`. | no | PPM=PPM@latest |
| restore-description | Whether the DESCRIPTION file (modified by this action) should be restored to its original contents? | no | true |
Outputs
no outputs