From 44c2622674d53a35c12e3cd4f662ddd2a60aa277 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 12 Jun 2025 03:52:06 +0000 Subject: [PATCH] Fix: Remove comments from CI dependency list for parser safety This commit further refines the `packages` list within the `r-lib/actions/setup-r-dependencies` step of the GitHub Actions workflow (`.github/workflows/R-CMD-check.yml`). To prevent any possible misinterpretation by the `pak` parser, all comments have been removed from this specific multiline block. The list now contains only the package names (`packrat`, `rcmdcheck`), each on its own line. This is a stricter approach to avoid the persistent "Cannot parse packages" error. --- .github/workflows/R-CMD-check.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/R-CMD-check.yml b/.github/workflows/R-CMD-check.yml index 5cba3e8..58f7909 100644 --- a/.github/workflows/R-CMD-check.yml +++ b/.github/workflows/R-CMD-check.yml @@ -48,9 +48,6 @@ jobs: packages: | packrat rcmdcheck - # The rcmdcheck package is needed for the check-r-package action. - # Other R package dependencies like rcpp and plyr are restored - # from packrat.lock in a subsequent step. - name: Restore R package dependencies (packrat) run: Rscript -e "packrat::restore()"