Install libuv headers for R CI#12173
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the R CI workflow to install libuv development headers so the R package fs can configure successfully (via pkg-config) during Linux R test jobs.
Changes:
- Install
libuv1-devin the Ubuntu R test job. - Install
libuv1-devin the Debian-container R test job. - Adjust the
cmakecomment to reflect that it’s only needed iffsbuilds bundledlibuv.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
RAMitchell
marked this pull request as ready for review
April 20, 2026 10:30
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.
Summary
Fix R CI dependency installation by installing
libuv1-devin the Linux R test jobs.Recent R CI failures on both this PR and
mastershow the R packagefsfailing to configure becauselibuvis unavailable viapkg-config:The workflow already installs
cmake, which previously allowedfsto build its bundled libuv, but the current dependency resolution now requires the system libuv development package. Installinglibuv1-devprovides the headers andlibuv.pc.Changes
libuv1-devto the Ubuntu R test system dependencies.libuv1-devto the Debian-container R test system dependencies.cmakeinstalled as a fallback forfsbundled-libuv builds.Testing
git diff --check.github/workflows/r_tests.ymlwith PyYAML.check yaml.