Skip to content

Commit 187f3ae

Browse files
authored
Use R 4.6.0 for macOS CI (#887)
* Use R 4.6.0 for macOS CI * Update URL for R 4.6.0 binary on macOS
1 parent 404d6c1 commit 187f3ae

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/r-ci.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ARCH=$(uname -m)
2121

2222
# Default CRAN repo (use the CDN) and R verssion
2323
CRAN=${CRAN:-"https://cloud.r-project.org"}
24-
RVER=${RVER:-"4.5.1"}
24+
RVER=${RVER:-"4.6.0"}
2525

2626
## Optional drat repos, unset by default
2727
DRAT_REPOS=${DRAT_REPOS:-""}
@@ -215,7 +215,7 @@ BootstrapLinuxOptions() {
215215

216216
BootstrapMac() {
217217
# Install from latest CRAN binary build for OS X (given ${ARCH} from 'uname -m')
218-
wget ${CRAN}/bin/macosx/big-sur-${ARCH}/base/R-${RVER}-${ARCH}.pkg -O /tmp/R-latest.pkg
218+
wget ${CRAN}/bin/macosx/sonoma-${ARCH}/base/R-${RVER}-${ARCH}.pkg -O /tmp/R-latest.pkg
219219

220220
echo "Installing macOS binary package for R on ${ARCH}"
221221
sudo installer -pkg "/tmp/R-latest.pkg" -target /

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
include:
18-
- {os: macOS-latest, r: '4.5.1' }
18+
- {os: macOS-latest, r: '4.6.0' }
19+
# The value of `r` for Ubuntu is a placeholder that has no effect. R
20+
# is installed from r2u via APT, and thus corresponds to the current
21+
# release version
1922
- {os: ubuntu-latest, r: 'release'}
2023

2124
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)