Repository navigation
pkgdown site and a developer vignette (writing a fetch function) - #17
Merged
Merged
Conversation
- vignettes/fetch.Rmd: the contract worked through with runnable code, a reference test harness, how each base R operation arrives at fetch, dimension order, decoding, recipes and handles, pinned sources, and sketches for ncdf4 and gdalraster - _pkgdown.yml and a GitHub Actions workflow deploying to gh-pages - README links the site, both vignettes and the contract - vignette titles match their index entries Closes #16 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TowCbPXVpB8oRsDNNywRUz
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.
Closes #16
Developer vignette:
vignette("fetch", package = "altarr"), "Writing a fetch function". It is aimed at people who maintain Zarr, netCDF, GDAL or object-store readers. Everything runs offline in a couple of seconds, apart from the sketches that need other packages.chunk_of()), which doubles as the reference for testingcheck_fetch(): compares a backend with its reference across every path base R takesx[i]1 call,x[cbind()]1 call,x[i,j,k]1 chunk per call,altarr_extract()1 call,sum()in 64-chunk batches,mean()one 24-chunk layer per call; and why reading the rows of one call concurrently is the big winforce(), and re-opening external-pointer handles lazilyaltarr_stats(),altarr_plan(), and the options as stress testspkgdown:
_pkgdown.yml(grouped reference, an articles menu linking the hypertidy post) and.github/workflows/pkgdown.yaml(the standard r-lib workflow, deployingdocs/togh-pageson pushes to main). After the first deploy, turn on Pages in the repo settings: Pages, deploy from branchgh-pages, folder/ (root).Also: README links the site, both vignettes and the contract; NEWS entry; version 0.1.0.9000; vignette titles now match their index entries (rmarkdown warned).
Locally,
R CMD check --as-crangives the same result as #15: only the container's notes. pkgdown reference and articles build cleanly. The news page and home page can't build here only because they query CRAN, which is unreachable from this machine.🤖 Generated with Claude Code
https://claude.ai/code/session_01TowCbPXVpB8oRsDNNywRUz
Generated by Claude Code