Skip to content

chopin

Spatial Parallel Computing by Hierarchical Data Partitioning

v0.9.9 · Sep 10, 2025 · MIT + file LICENSE

Description

Geospatial data computation is parallelized by grid, hierarchy, or raster files. Based on 'future' (Bengtsson, 2024 <doi:10.32614/CRAN.package.future>) and 'mirai' (Gao et al., 2025 <doi:10.32614/CRAN.package.mirai>) parallel back-ends, 'terra' (Hijmans et al., 2025 <doi:10.32614/CRAN.package.terra>) and 'sf' (Pebesma et al., 2024 <doi:10.32614/CRAN.package.sf>) functions as well as convenience functions in the package can be distributed over multiple threads. The simplest way of parallelizing generic geospatial computation is to start from par_pad_*() functions to par_grid(), par_hierarchy(), or par_multirasters() functions. Virtually any functions accepting classes in 'terra' or 'sf' packages can be used in the three parallelization functions. A common raster-vector overlay operation is provided as a function extract_at(), which uses 'exactextractr' (Baston, 2023 <doi:10.32614/CRAN.package.exactextractr>), with options for kernel weights for summarizing raster values at vector geometries. Other convenience functions for vector-vector operations including simple areal interpolation (summarize_aw()) and summation of exponentially decaying weights (summarize_sedc()) are also provided.

Downloads

559

Last 30 days

6800th

1.1K

Last 90 days

1.1K

Last year

Trend: +13.2% (30d vs prior 30d)

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

installed package size

  installed size is  6.9Mb
  sub-directories of 1Mb or more:
    data      3.0Mb
    extdata   2.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is  6.9Mb
  sub-directories of 1Mb or more:
    data      3.0Mb
    extdata   2.9Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  5.9Mb
  sub-directories of 1Mb or more:
    data      2.0Mb
    extdata   2.9Mb
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-oldrel-macos-arm64

installed package size

  installed size is  6.9Mb
  sub-directories of 1Mb or more:
    data      3.0Mb
    extdata   2.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is  6.9Mb
  sub-directories of 1Mb or more:
    data      3.0Mb
    extdata   2.9Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  5.9Mb
  sub-directories of 1Mb or more:
    data      2.0Mb
    extdata   2.9Mb

Dependency Network

Dependencies Reverse dependencies anticlust cli dplyr exactextractr future future.apply igraph rlang sf sfheaders stars terra mirai (>= 1.3.0) collapse chopin

Version History

new 0.9.9 Mar 9, 2026