Skip to content

Fix R-CMD-check CI failure on R-devel: rlang PREXPR symbol removal#180

Draft
Copilot wants to merge 1 commit intodevfrom
copilot/fix-rlang-loading-issue
Draft

Fix R-CMD-check CI failure on R-devel: rlang PREXPR symbol removal#180
Copilot wants to merge 1 commit intodevfrom
copilot/fix-rlang-loading-issue

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 27, 2026

R-devel removed the PREXPR C symbol from its internal API, causing the CRAN version of rlang to fail to load during setup-r-dependencies. This breaks all R-devel CI runs since rlang is a transitive dependency (via dplyr, car, etc.).

Changes

  • Conditionally install r-lib/rlang (GitHub dev version with the fix) for R-devel builds only via extra-packages
  • Release/oldrel builds continue using the stable CRAN version
extra-packages: |
  any::rcmdcheck
  ${{ matrix.config.r == 'devel' && 'r-lib/rlang' || '' }}

Upstream tracking: r-lib/rlang#1854

… builds

The CRAN version of rlang uses the PREXPR C symbol which was removed
from R-devel's internal API. This conditionally installs the development
version of rlang from r-lib/rlang for R-devel builds only, which
contains the fix for PREXPR removal.

Agent-Logs-Url: https://github.com/hreinwald/drc/sessions/369087cc-62a9-4f4e-9130-31cc453b547e

Co-authored-by: hreinwald <115988583+hreinwald@users.noreply.github.com>
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