From 1a0310ce1bebcc503bb8a878849ade546b274ecd Mon Sep 17 00:00:00 2001 From: Maarten Marsman Date: Thu, 4 Jun 2026 23:25:55 +0200 Subject: [PATCH 1/2] ci(weekly-compliance): install remotes before remotes::install_github The workflow called remotes::install_github("MaartenMarsman/mixedGM") but setup-r-dependencies did not install remotes, so the step failed immediately with 'there is no package called remotes' (weekly job red since April). Add remotes to extra-packages, matching the nightly job's devtools pattern. --- .github/workflows/weekly-compliance.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/weekly-compliance.yaml b/.github/workflows/weekly-compliance.yaml index 281955ea..736fd19a 100644 --- a/.github/workflows/weekly-compliance.yaml +++ b/.github/workflows/weekly-compliance.yaml @@ -20,6 +20,8 @@ jobs: use-public-rspm: true - uses: r-lib/actions/setup-r-dependencies@v2 + with: + extra-packages: any::remotes - name: Install mixedGM (needed for cross-package tests) run: Rscript -e 'remotes::install_github("MaartenMarsman/mixedGM")' From 22f654648f65591af1f235091a316316ed90e781 Mon Sep 17 00:00:00 2001 From: Maarten Marsman Date: Thu, 4 Jun 2026 23:31:07 +0200 Subject: [PATCH 2/2] ci(weekly-compliance): drop vestigial mixedGM install; install bgms itself Dispatching the job revealed two more problems past the remotes fix: - The mixedGM install (remotes::install_github MaartenMarsman/mixedGM) 404s: the repo is inaccessible to the repo-scoped CI token, and tests/compliance/ does not use mixedGM at all (it is only referenced by skip-guarded validation helpers in the regular suite). Remove the step (and the remotes dep added for it). - test_compliance.R does library(bgms), but setup-r-dependencies installs only dependencies, not the package. Add extra-packages: local::. so bgms is installed. This leaves: checkout -> setup-r -> deps+bgms -> (gen fixtures if missing) -> run bitwise compliance. --- .github/workflows/weekly-compliance.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/weekly-compliance.yaml b/.github/workflows/weekly-compliance.yaml index 736fd19a..ac23ef3a 100644 --- a/.github/workflows/weekly-compliance.yaml +++ b/.github/workflows/weekly-compliance.yaml @@ -21,10 +21,7 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: any::remotes - - - name: Install mixedGM (needed for cross-package tests) - run: Rscript -e 'remotes::install_github("MaartenMarsman/mixedGM")' + extra-packages: local::. - name: Generate compliance fixtures (if missing) run: |