insightsengineering/Setup R dependencies

GitHub Action to install R package dependencies

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 3, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: insightsengineering/setup-r-dependencies@47235b81d6af3f63d38523dd1f8c09dc9150b76a # v1.4.3

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
repository-pathDirectory where the R package is located relative to the calling GitHub workflow workspace.no.
lookup-refsList 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""
dependenciesPassed to `r-lib/actions/setup-r-dependencies`.no"all"
extra-packagesPassed to `r-lib/actions/setup-r-dependencies`.no""
install-quartoPassed to `r-lib/actions/setup-r-dependencies`.noauto
cache-versionPassed to `r-lib/actions/setup-r-dependencies`.yes1
needsPassed to `r-lib/actions/setup-r-dependencies`. The value will be amended by `DepsBranch` and `DepsDev` values. no""
skip-desc-branchSkip the DESCRIPTION file modification for the feature branch.nofalse
skip-desc-devSkip the DESCRIPTION file modification for the development branch.nofalse
skip-installSkip the installation of R package dependencies.nofalse
max-iterMaximum number of iterations to resolve dependencies.no10
repository-listComma-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`. noPPM=PPM@latest
restore-descriptionWhether the DESCRIPTION file (modified by this action) should be restored to its original contents? notrue

no outputs