Skip to content

Commit 6405056

Browse files
authored
Install Cairo macOS devel brew dependency (#3408)
1 parent 9f9304f commit 6405056

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,13 @@ jobs:
6969
shell: Rscript {0}
7070
run: |
7171
pak::local_system_requirements(execute = TRUE)
72+
73+
# https://stackoverflow.com/a/66568545/591574
74+
#> fatal error: 'X11/Intrinsic.h' file not found
75+
- name: Install Cairo macOS R devel dependency
76+
if: runner.os == 'macOS' && matrix.config.r == 'devel'
77+
run: |
78+
brew install libxt
7279
7380
# xquartz and cairo are needed for Cairo package.
7481
# harfbuzz and fribidi are needed for textshaping package.

0 commit comments

Comments
 (0)