Install gdalcubes from GitHub now that CRAN archived it (#80) - #84
Merged
Merged
Conversation
gdalcubes was archived on CRAN on 2026-09-16, which broke the pkgdown workflow's dependency resolve and user installs of the STAC functions. Upstream master (0.7.5) carries the filter_geom fix from our fork, so Remotes points at appelmar/gdalcubes with no suffix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PRhUJsuKABLfpBGktPoiBN
Since #48 the cache lives under <cache>/v2/<source>, but five opt-in network assertions still listed <cache>/<source> and so failed on every run. Found verifying gdalcubes 0.7.5; every data assertion passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PRhUJsuKABLfpBGktPoiBN
rlang::check_installed() offered a bare-name install, which now means
CRAN and fails. The three gdalcubes guards share one helper whose error
gives pak::pak("appelmar/gdalcubes"). Found by code-check round 1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PRhUJsuKABLfpBGktPoiBN
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PRhUJsuKABLfpBGktPoiBN
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PRhUJsuKABLfpBGktPoiBN
This was referenced Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #80
Why
gdalcubes was archived on CRAN on 2026-09-16. drift lists it in
Suggests, and the pkgdown workflow resolves Suggests forlocal::.withneeds: website. That resolve has failed on every push since 2026-09-26 (runs 36257119060, 36257649915), so the published site is stuck at7011fa6from 2026-09-07. New users also can no longer install whatdft_stac_fetch()anddft_stac_cube()need.What
Remotes:gainsappelmar/gdalcubes, with no suffix per the pin policy. Upstream master is 0.7.5 (ed68331, "CRAN v0.7.5 release candidate") and has already merged ourfilter_geomsegfault fix (their PR #111), so theNewGraphEnvironment/gdalcubes@newgraphfork is no longer needed. The gotchas note records this.pak::pak("appelmar/gdalcubes").dft_stac_fetch,dft_stac_cube,dft_index_expr) share one helper,check_gdalcubes(). Its error names the GitHub install.rlang::check_installed()would have offered a bare-name install, which now means CRAN and fails. Code-check round 1 found this.<cache>/<source>) since Cache key moved on an rlang upgrade, silently orphaning every cached cube and fetch #48 moved the cache to<cache>/v2/<source>, so they failed on every opt-in run. They now usecache_scheme_dir(). Verifying 0.7.5 surfaced them. Every data assertion in those tests had passed.Verification (gdalcubes 0.7.5 installed from GitHub)
devtools::test()DRIFT_TEST_NETWORK=true,test-dft_stac_cube.R(incl. tiled vs untiled)DRIFT_TEST_NETWORK=true,test-dft_stac_fetch.Rdeps::.,any::pkgdown,local::.withConfig/Needs/websiteagainst an empty library (reviewer-run)appelmar/gdalcubes0.7.5, asleaflet.extrasalready doesThe source build on the Ubuntu runner is not yet observed; this PR's pkgdown run is that check.
/code-checkran three rounds: round 1 found 1 issue (fixed), round 2 found none, and round 3 is below.No raster-pipeline function changed, so the BULK scale test does not apply.
Relates to NewGraphEnvironment/sred-2025-2026#16
🤖 Generated with Claude Code
https://claude.ai/code/session_01PRhUJsuKABLfpBGktPoiBN