Skip to content

Commit 0f247d4

Browse files
committed
fix: disable RSPM to avoid missing macOS aarch64 binaries and ensure source installation for specific packages
1 parent cfb59ae commit 0f247d4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/check-release.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
with:
3838
r-version: ${{ matrix.config.r }}
3939
http-user-agent: ${{ matrix.config.http-user-agent }}
40-
use-public-rspm: true
40+
# Disable RSPM to avoid missing macOS aarch64 binaries; fall back to CRAN
41+
use-public-rspm: false
4142

4243
- name: Install dependencies manually (macOS workaround)
4344
if: runner.os == 'macOS'
@@ -46,6 +47,8 @@ jobs:
4647
options(timeout = 300)
4748
# Install remotes and rcmdcheck first
4849
install.packages(c("remotes", "rcmdcheck"), type = "binary")
50+
# Ensure packages without macOS binaries are installed from source
51+
install.packages(c("base64enc", "later"), type = "source")
4952
# Use remotes to install dependencies (handles binary/source fallback)
5053
remotes::install_deps(dependencies = TRUE, upgrade = "never")
5154
shell: Rscript {0}

0 commit comments

Comments
 (0)