Skip to content

Add libuv1-dev system dependency required by fs 2.x#732

Open
donny-wong wants to merge 2 commits into
MarkUsProject:masterfrom
donny-wong:install_system_libuv1_dev
Open

Add libuv1-dev system dependency required by fs 2.x#732
donny-wong wants to merge 2 commits into
MarkUsProject:masterfrom
donny-wong:install_system_libuv1_dev

Conversation

@donny-wong

@donny-wong donny-wong commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

The fs R package 2.x dropped its vendored copy of libuv and now requires
a system libuv development library, discovered via pkg-config at build time.
Without libuv1-dev installed, creating an R tester environment fails.

Add libuv1-dev to the apt-get install block in the R tester setup script
alongside the other system dependencies.

Test Setup

How fs is loaded

testthat → pkgload → fs

The instructor test script is responsible for loading testthat.

# instructor test script
library(testthat)

Verifying the setup

After saving the autotest settings, run a test. If none of the following errors appear, the setup is working correctly:

Package libuv was not found in the pkg-config search path.
Package 'libuv', required by 'virtual:world', not found
ERROR: configuration failed for package 'fs'

@donny-wong donny-wong requested a review from Naragod June 19, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants