From 542045de4fc65c59ce7143796ad5bd6de6395797 Mon Sep 17 00:00:00 2001 From: Bill Denney Date: Fri, 2 Oct 2026 20:49:01 -0400 Subject: [PATCH] ci: install XQuartz on the macOS check job The CRAN macOS binary of gdtools, which flextable loads, links to X11's libXrender; macos-latest no longer ships it, so the flextable and table1 vignettes failed to build on main and on every PR. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/R-CMD-check.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 562fe0f..dae3018 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -40,6 +40,12 @@ jobs: http-user-agent: ${{ matrix.config.http-user-agent }} use-public-rspm: true + # The CRAN macOS binary of gdtools (flextable's dependency) links to + # X11's libXrender, which the runner image does not ship. + - name: Install XQuartz + if: runner.os == 'macOS' + run: brew install --cask xquartz + - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: any::rcmdcheck