Repository navigation
Fix macOS CI (XQuartz) and run R-CMD-check on development - #129
Merged
Merged
Conversation
macos-latest moved to the macos-26-arm64 image, which does not ship XQuartz. The CRAN binary of gdtools (pulled in by flextable) links against /opt/X11/lib/libXrender.1.dylib, so it failed to load and the macOS job could not install clinify at all. Also run R-CMD-check for pushes and PRs on `development`. The trigger listed `dev`, so PRs into development, such as #127, only ran pkgdown and coverage. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
R CMD INSTALL --build loads clinify, and with it gdtools, so the macOS binary build hits the same missing libXrender as R-CMD-check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
macOS-latest (release)R-CMD-check job fails before clinify is installed:macos-latestnow resolves to themacos-26-arm64runner image, which does not ship XQuartz. The CRAN macOS binary of gdtools, a flextable dependency, links against XQuartz's libXrender. CRAN's own macOS builders have XQuartz installed, so this affects CI only.Separately, the workflow's branch filter listed
devrather thandevelopment. That's why PRs into development, including #127, never ran R-CMD-check.Changes
brew install --cask xquartzstep before dependency setup.developmentto the push and pull_request branch filters. This PR targets development, so it exercises the fix itself.The 0.4.1 CRAN submission did not depend on this change; it is to be merged after CRAN accepts.
🤖 Generated with Claude Code