Package: chopin
Title: Spatial Parallel Computing by Hierarchical Data Partitioning
Version: 0.9.9-5
Authors@R: c(
    person("Insang", "Song", email = "geoissong@gmail.com", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0001-8732-3256")),
    person("Kyle", "Messier", role = c("aut", "ctb"),
           comment = c(ORCID = "0000-0001-9508-9623")),
    person("Alec L.", "Robitaille", role = c("rev"),
           comment = "Alec reviewed the package version 0.6.3 for rOpenSci, see <https://github.com/ropensci/software-review/issues/638>"),
    person("Eric R.", "Scott", role = c("rev"),
           comment = "Eric reviewed the package version 0.6.3 for rOpenSci, see <https://github.com/ropensci/software-review/issues/638>")
  )
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.
License: MIT + file LICENSE
URL: https://docs.ropensci.org/chopin/,
        https://github.com/ropensci/chopin
BugReports: https://github.com/ropensci/chopin/issues
Depends: R (>= 4.1)
SystemRequirements: netcdf
Encoding: UTF-8
LazyData: true
LazyDataCompression: xz
RoxygenNote: 7.3.3
Imports: anticlust, cli, dplyr (>= 1.1.0), exactextractr (>= 0.8.2),
        future, future.apply, igraph, methods, rlang, sf (>= 1.0-10),
        sfheaders, stars (>= 0.6-0), terra (>= 1.7-18), mirai (>=
        1.3.0), collapse
Suggests: covr, devtools, targets, DiagrammeR, future.mirai, knitr,
        lifecycle, rmarkdown, spatstat.random, testthat (>= 3.0.0),
        units, withr, dggridR, h3r
VignetteBuilder: knitr
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2026-04-03 12:04:04 UTC; isong
Author: Insang Song [aut, cre] (ORCID: <https://orcid.org/0000-0001-8732-3256>),
  Kyle Messier [aut, ctb] (ORCID:
    <https://orcid.org/0000-0001-9508-9623>),
  Alec L. Robitaille [rev] (Alec reviewed the package version 0.6.3 for
    rOpenSci, see
    <https://github.com/ropensci/software-review/issues/638>),
  Eric R. Scott [rev] (Eric reviewed the package version 0.6.3 for
    rOpenSci, see
    <https://github.com/ropensci/software-review/issues/638>)
Maintainer: Insang Song <geoissong@gmail.com>
Repository: CRAN
Date/Publication: 2026-04-03 12:40:02 UTC
Built: R 4.7.0; ; 2026-05-10 03:11:13 UTC; windows
