You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ja...@apache.org on 2026/09/23 04:31:14 UTC
(sedona-db) branch main updated: ci(r): cache the R library and build adbcdrivermanager from source on macOS (#1342)
This is an automated email from the ASF dual-hosted git repository.
james-willis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-db.git
The following commit(s) were added to refs/heads/main by this push:
new a0254e312 ci(r): cache the R library and build adbcdrivermanager from source on macOS (#1342)
a0254e312 is described below
commit a0254e31250e5a568fa5819e1231d8ab859168b8
Author: James Willis <ja...@users.noreply.github.com>
AuthorDate: Tue Sep 22 21:31:08 2026 -0700
ci(r): cache the R library and build adbcdrivermanager from source on macOS (#1342)
---
.github/workflows/r.yml | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml
index e3d4953e4..8ed1c8513 100644
--- a/.github/workflows/r.yml
+++ b/.github/workflows/r.yml
@@ -142,12 +142,27 @@ jobs:
workspaces: ${{ env.CACHE_WORKSPACE }}
cache-bin: false
+ # For macOS CRAN binaries that Posit Package Manager does not carry,
+ # pak downloads from cran.rstudio.com and mac.cran.dev at the same time
+ # and keeps whichever finishes first. mac.cran.dev serves the
+ # adbcdrivermanager 0.24.0-3 binary zstd-compressed, which pak cannot
+ # extract, so the job failed whenever that copy won the race:
+ # https://github.com/r-lib/pkgdepends/issues/485
+ # https://github.com/r-lib/pak/issues/915
+ # Install the package from source first; pak then keeps the installed
+ # version instead of downloading a binary. Drop this once pak reads
+ # zstd archives or the CRAN copies are gzip everywhere.
+ - name: Install adbcdrivermanager from source (macOS)
+ if: runner.os == 'macOS'
+ run: |
+ Rscript -e 'install.packages("nanoarrow")' \
+ -e 'install.packages("adbcdrivermanager", type = "source")'
+
- uses: r-lib/actions/setup-r-dependencies@v2
with:
needs: check
extra-packages: any::glue, any::here, any::rlang, any::yaml, any::roxygen2, any::rcmdcheck
working-directory: r/sedonadb
- cache: false
- name: Install sedonadb R Package
env: