Add curl dependcy for R
parent
b2f903cb6d
commit
62067a865c
|
@ -31,12 +31,16 @@ jobs:
|
||||||
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'
|
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'
|
||||||
sudo apt install r-base
|
sudo apt install r-base
|
||||||
- name: Cache R packages
|
- name: Cache R packages
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v2
|
||||||
|
id: cacherenv
|
||||||
with:
|
with:
|
||||||
path: ${{ env.RENV_PATHS_ROOT }}
|
path: ${{ env.RENV_PATHS_ROOT }}
|
||||||
key: ${{ runner.os }}-renv-${{ hashFiles('**/renv.lock') }}
|
key: ${{ runner.os }}-renv-${{ hashFiles('**/renv.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-renv-
|
${{ 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
|
- name: Restore R packages
|
||||||
shell: Rscript {0}
|
shell: Rscript {0}
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue