Skip to content

Commit

Permalink
don't install two fribidi libs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmurdoch committed Jun 29, 2024
1 parent 054f01b commit bcb95b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: Install CRAN fribidi and libjpeg on MacOS
- name: Install CRAN libjpeg on MacOS
if: runner.os == 'macOS'
run: |
ARCH=`uname -m`
if [ ! -e /opt/R/$ARCH ]; then sudo mkdir -p /opt/R/$ARCH; sudo chown -R $USER /opt/R; fi
sudo Rscript -e 'dep=c("fribidi", "jpeg"); source("https://mac.R-project.org/bin/install.R"); install.libs(dep)'
sudo Rscript -e 'dep="jpeg"; source("https://mac.R-project.org/bin/install.R"); install.libs(dep)'
if ! echo $PATH | grep /opt/R/$ARCH/bin >/dev/null; then echo /opt/R/$ARCH/bin > newPATH; cat $GITHUB_PATH >> newPATH; cat newPATH > $GITHUB_PATH; fi
shell: bash

Expand Down

0 comments on commit bcb95b4

Please sign in to comment.