Skip to content

Commit 32dc555

Browse files
GHA: Try to fix missing dependencies for 'plumber' and 'shiny'
1 parent 7f665fa commit 32dc555

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/revdepcheck-top.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,21 @@ jobs:
7070
any::covr
7171
needs: check
7272

73+
- name: Install system dependencies (manually added)
74+
run: |
75+
## 'plumber' fail to install 'sf', because 'units' fail to
76+
## install due 'libudunits2-dev' missing
77+
if [[ "{{ matrix.config.pkg }}" == "plumber" ]]; then
78+
apt install -y libudunits2-dev
79+
fi
80+
## 'shiny' fail at run time with "Error in `dyn.load(file, DLLpath
81+
## = DLLpath, ...)`: unable to load shared object '/home/runner/
82+
## work/_temp/Library/otelsdk/libs/otelsdk.so': libprotobuf.so.32:
83+
## cannot open shared object file: No such file or directory
84+
if [[ "{{ matrix.config.pkg }}" == "shiny" ]]; then
85+
apt install -y libprotobuf32t64
86+
fi
87+
7388
- name: Install dependencies
7489
run: |
7590
remotes::install_deps(dependencies = TRUE)

0 commit comments

Comments
 (0)