Data Source Name and Description Helpers for Use with 'GDAL'
Overview
Simple helpers for 'GDAL' data source names ('DSN'), prefix and suffix and other handling. 'GDAL' is the Geospatial Data Abstraction Library https://gdal.org/, not used by this package directly.
- mem() no longer copies or converts its input: 'x' must be a double array and the DSN references its memory directly. Previously the address taken was of an internal temporary copy, eligible for garbage collection as soon as mem() returned.
- C_addr now returns the address of the data of a vector (not the SEXP), as a decimal string. This is portable to Windows (where '%p' omits the '0x' prefix) and removes the fixed header-offset arithmetic in mem(), which is also what prevented non-double types from working.
- mem() documents the GDAL >= 3.10 requirement to set GDAL_MEM_ENABLE_OPEN=YES, and the lifetime contract for the referenced memory.
- Native routine registration now actually occurs (the init function was misnamed R_init_addr, so registration silently never ran).
Show all changes in 0.1.0Hide the rest of the changes in 0.1.0
- unprefix() strips exactly one leading driver prefix and no longer eats Windows drive letters or subdataset paths; unvsicurl() is anchored to the start of the string.
- Removed unexported experimental rds().
- Add vsis3 and vsizip.
- All data source functions have been removed to sds.
- New internal C_addr, to replace lobstr import.
vsicurl()gains pc_url_signing with thesignarg (GDAL >= 3.5).- All data source functions have been removed to hypertidy/sds, so countrycode no longer needed.
- New
nsdic_seaice()for the GeoTIFF images. - New
srtm15()source. - Add internal lists of tasmap_sources.
- Fix gebco to use ice surface, add bedrock option for 2023 (thanks to Philippe Massicotte).
- Clarify which gebco() functions return bedrock vs. ice surface.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-07-18
Documentation
- Help pages
- 7 (1 internal)includes a package overview page
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/hypertidy/dsn on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-07-08 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Installing dsn adds no packages beyond those that come with R.
Code & Tests
People & History
- 0.1.0Latest2026-07-17 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-07-17
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 651 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("dsn")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.