From 5d384bd6f76226be1b6a72a9d3c8b86ca1971848 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 27 Mar 2026 16:45:46 +0000 Subject: [PATCH] Fix R-CMD-check CI failure: install dev rlang from GitHub for R-devel 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> --- .github/workflows/R-CMD-check.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 6ae0152..5d85827 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -43,7 +43,9 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: any::rcmdcheck + extra-packages: | + any::rcmdcheck + ${{ matrix.config.r == 'devel' && 'r-lib/rlang' || '' }} needs: check - uses: r-lib/actions/check-r-package@v2