From bcb95b4ce225556a1057d9eea98fff05ffecc5db Mon Sep 17 00:00:00 2001 From: Duncan Murdoch Date: Sat, 29 Jun 2024 08:24:45 -0400 Subject: [PATCH] don't install two fribidi libs --- .github/workflows/R-CMD-check.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 6a6c63ad7..2f4bf16aa 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -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