Skip to content

Latest commit

 

History

History

setup-lesson-deps

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

setup-deps

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)

Usage

Inputs available

  • cache-version - default 1. 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 }}

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome!