From 3dea1f2dd578289b4cb4fe213b78659b89872590 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Tue, 22 Oct 2024 09:12:23 +0200 Subject: [PATCH] GHA: use CRAN's libpng lib on macOS, not brew svglite currently does not work with brew. --- .github/workflows/R-CMD-check.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index ce7337a..d877fc8 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -52,10 +52,9 @@ jobs: http-user-agent: ${{ matrix.config.http-user-agent }} use-public-rspm: true - - name: Install libpng on macOS - if: runner.os == 'macOS' - run: | - brew install libpng + - uses: r-hub/actions/setup-r-sysreqs@v1 + with: + type: minimal - uses: r-lib/actions/setup-r-dependencies@v2 with: