Skip to content

Commit 64513a3

Browse files
committed
Fix pkg installation under Linux
1 parent 1dc1807 commit 64513a3

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/R-CMD-check.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,18 @@ jobs:
5757
key: ${{ runner.os }}-r-${{ matrix.config.r }}-3-${{ hashFiles('depends.Rds') }}
5858
restore-keys: ${{ runner.os }}-r-${{ matrix.config.r }}-3-
5959

60-
- name: Install linux system dependencies
60+
- name: Install Linux system dependencies
6161
if: runner.os == 'Linux'
62-
run: sudo apt-get install -y libglpk-dev
62+
run: |
63+
sudo apt-get update
64+
sudo apt-get install -y --no-install-recommends \
65+
libudunits2-dev \
66+
udunits-bin \
67+
libgdal-dev \
68+
libgeos-dev \
69+
libproj-dev \
70+
libglpk-dev
71+
6372
6473
- name: Install dependencies
6574
run: |
@@ -77,4 +86,3 @@ jobs:
7786
with:
7887
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
7988
path: check
80-

0 commit comments

Comments
 (0)