Skip to content

Data Source Name and Description Helpers for Use with 'GDAL'

1packages depend
564downloads / year
58.6%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.1.0
  • 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 the sign arg (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

CRAN checks
13OK
Slowest check: 1.9 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK7 OK2026-07-18
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 716 wordsVignettesNoNEWSYes · 100% structured · mentions 0.1.0Citation fileNoWebsiteYes · pkgdown
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

564
CRAN downloads in the past year
Rank #23,531 · ~2/day · ~47/mo
Daily download trend is not available in this view yet.
23530 days
53390 days
5641 year
Compare downloads with other packages →
Also on36 r2u7 autocran

Repository

7Stars
0Forks
11Open issues
0Open PRs
0Releases
49Commits
2Commit identities
49 commits · Last activity 2026-07-08
Responsiveness
How these are sampled
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
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (3)
README.Rmd

GitHub Pages site last deployed 2026-07-08 · The repository has a site deploy workflow

CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing dsn adds no packages beyond those that come with R.

Depends (1)
R >= 4.1.0
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (2)
Author, Maintainer since 0.1.0 (2026)
Contributor
original idea for C_addr, from data.table::address
Releases (1)
  • 0.1.0Latest
    2026-07-17 · current release
  • R
    R 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")
Sumner, M., & Dowle, M. (2026). dsn: Data Source Name and Description Helpers for Use with 'GDAL' (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for dsn version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy