Add curl dependcy for R

pull/108/head
JulioV 2020-12-20 14:26:18 -05:00
parent b2f903cb6d
commit 62067a865c
1 changed files with 5 additions and 1 deletions

View File

@ -31,12 +31,16 @@ jobs:
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'
sudo apt install r-base
- name: Cache R packages
uses: actions/cache@v1
uses: actions/cache@v2
id: cacherenv
with:
path: ${{ env.RENV_PATHS_ROOT }}
key: ${{ runner.os }}-renv-${{ hashFiles('**/renv.lock') }}
restore-keys: |
${{ runner.os }}-renv-
- name: Install R dependencies
if: steps.cacherenv.outputs.cache-hit != 'true'
run: sudo apt install libcurl4-openssl-dev
- name: Restore R packages
shell: Rscript {0}
run: |