This will set up the dependencies for Carpentries lessons using {renv}. It is important to note that this action is not independent. It requires the following items:
RENV_PATHS_ROOT
must be defined in the job environment- R and the {sandpaper} package must be available (see
setup-sandpaper
)
Inputs available
cache-version
- default1
. If you need to invalidate the existing cache pass any other number and a new cache will be used.
Basic:
steps:
- uses: actions/checkout@master
- uses: r-lib/actions/setup-r@v1
- uses: carpentries/actions/setup-sandpaper@main
with:
cache-version: ${{ secrets.CACHE_VERSION }}
- uses: carpentries/actions/setup-lesson-deps@main
with:
cache-version: ${{ secrets.CACHE_VERSION }}
The scripts and documentation in this project are released under the MIT License
Contributions are welcome!