R
reproducible
ANALYTICS
Velocity0.0
Enhance Reproducibility of R Code
reproducible added a windowed read path so remote GeoTiffs never fully download
rcachinggeospatialcloud optimized geotiffgdalreproducibility
◆Current state
reproducible provides caching and input-preparation tooling for R workflows, with prepInputs() as the central entry point for fetching, cropping and post-processing spatial data. Only two releases are on record here, both from May 2026 and two days apart: a feature release followed immediately by a CRAN-triggered patch.
◆Where it's heading
3.1.0 adds prepInputsCOG, a fast path inside prepInputs for remote tiled GeoTiffs including Cloud Optimized GeoTiffs. When the URL is HTTP(S) and any of to, cropTo or maskTo is supplied, only the spatial window of interest is fetched through GDAL's /vsicurl/, and the resulting windowed SpatRaster continues through the normal post-processing pipeline. The same release renames the inputPaths options to the destinationPathShared family with backwards-compatible aliases and a deprecation message, and lets alsoExtract accept regex patterns.
◆Prediction
The COG path being opt-out via options(reproducible.useCOG = FALSE) suggests confidence in it as a default, so wider application across the prepInputs family is the plausible next step. Two entries is a thin base for predicting cadence.
◆Recent moves
- 3mo ago
Inode comparison fix for large-inode file systems
A CRAN-triggered patch fixing a test failure on file systems whose inode numbers exceed the integer maximum, by comparing inodes as strings. The release notes state the package code is unaffected.
View source ↗ - 3mo ago
prepInputsCOG fetches only the spatial window from remote GeoTiffs
Adds a fast path for remote tiled and Cloud Optimized GeoTiffs: when the URL is HTTP(S) and a target, crop or mask extent is given, only that window is read via GDAL's /vsicurl/ rather than downloading the whole file, then continues through the normal post-processing pipeline. Also renames the inputPaths options to the destinationPathShared family with working aliases and a deprecation message, and lets alsoExtract take regex patterns.
View source ↗