duckspatial: R Interface to 'DuckDB' Database with Spatial Extension

Fast & memory-efficient functions to analyze and manipulate large spatial data data sets. It leverages the fast analytical capabilities of 'DuckDB' and its spatial extension (see <https://duckdb.org/docs/stable/core_extensions/spatial/overview>) while maintaining compatibility with R’s spatial data ecosystem to work with spatial vector data.

Version: 0.9.0
Depends: R (≥ 4.1.0)
Imports: arrow, cli, duckdb, geoarrow, DBI, glue, sf, wk, uuid, rlang, lifecycle
Suggests: areal, bench, dplyr, ggplot2 (≥ 3.3.1), knitr, lwgeom, quadkeyr, rmarkdown, terra, testthat (≥ 3.0.0)
Published: 2026-01-10
DOI: 10.32614/CRAN.package.duckspatial
Author: Adrián Cidre González ORCID iD [aut, cre], Rafael H. M. Pereira ORCID iD [aut], Egor Kotov ORCID iD [aut]
Maintainer: Adrián Cidre González <adrian.cidre at gmail.com>
BugReports: https://github.com/Cidree/duckspatial/issues
License: GPL (≥ 3)
URL: https://cidree.github.io/duckspatial/, https://github.com/Cidree/duckspatial
NeedsCompilation: no
Materials: README, NEWS
In views: Spatial
CRAN checks: duckspatial results

Documentation:

Reference manual: duckspatial.html , duckspatial.pdf
Vignettes: Areal Interpolation (source, R code)
Benchmark (source, R code)
Intro to duckspatial (source, R code)
Spatial joins (source, R code)

Downloads:

Package source: duckspatial_0.9.0.tar.gz
Windows binaries: r-devel: duckspatial_0.2.0.zip, r-release: duckspatial_0.2.0.zip, r-oldrel: duckspatial_0.2.0.zip
macOS binaries: r-release (arm64): duckspatial_0.9.0.tgz, r-oldrel (arm64): duckspatial_0.9.0.tgz, r-release (x86_64): duckspatial_0.9.0.tgz, r-oldrel (x86_64): duckspatial_0.2.0.tgz
Old sources: duckspatial archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=duckspatial to link to this page.