Skip to content

spatialrisk

0.8.1

Spatial Concentration and Radius-Based Risk Calculations

0packages depend
9.3Kdownloads / year
67.4%test coverage
13/13checks pass

Overview

About
Maintained by Martin HaringaFirst published 2018-09-0320 releasesCRAN page ↗GitHub ↗

Provides methods for spatial concentration and radius-based risk calculations. The package focuses on efficient determination of the sum of observations within a given radius, identifying areas of high local concentration, and aggregating point data to polygon geometries. These methods are useful for applications such as insurance, urban analytics, environmental exposure analysis, and other spatial point pattern workflows. The underlying maximum covering problem is described by Church (1974) doi:10.1007/BF01942293.

Install

Health

CRAN checks
13OK
Slowest check: 10.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.26
67.4%
Coverage · measured lines
100%
Documentation · exports
10
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-10
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-09
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
60%
Documented parameters
97%
Return-value docs
100%
References docs
10%

Downloads

9.3K
CRAN downloads in the past year
Rank #4,894 · ~25/day · ~773/mo
Daily download trend is not available in this view yet.
39430 days
1.6K90 days
9.3K1 year
Compare downloads with other packages →
Also on784 r2u19 autocran

Repository

Repository
21Stars
3Forks
0Open issues
0Open PRs
19Releases
203Commits
1Contributors
actuarial-sciencesolvency-iiinsurancespatialr
203 commits · Last activity 2026-08-14 · 0% stars, 30d

Stars over time

2023-09-06 · 182026-07-07 · 21

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/mharinga/spatialrisk on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
26 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

20 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.8.1Latest
    2026-06-16 · current release · diff ↗
  • 0.8.0
    2026-05-04 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.7.3
    2025-09-14 · diff ↗
  • 0.7.2
    2025-05-25 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.7.1
    2024-02-21 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.7.0
    2021-11-10 · diff ↗
  • 0.6.9
    2021-05-26 · diff ↗
  • 0.6.8
    2021-05-18 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.6.7
    2020-04-23 · diff ↗
Show 13 earlier events
  • 0.6.6
    2020-03-21 · diff ↗
  • 0.6.5
    2019-11-06 · diff ↗
  • 0.6.4
    2019-10-25 · diff ↗
  • 0.6.3
    2019-10-19 · diff ↗
  • 0.6.2
    2019-07-29 · diff ↗
  • 0.6.1
    2019-04-30 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.6.0
    2019-04-08 · diff ↗
  • 0.5.1
    2019-03-01 · diff ↗
  • 0.4.1
    2018-10-28 · diff ↗
  • 0.3.1
    2018-09-12 · diff ↗
  • 0.2.1
    2018-09-03
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-09-03
Total releases
20 / 8 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.1.0
Bundled data
2.3 MB / 9 files
Download size
3.9 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("spatialrisk")
Haringa, M. (2026). spatialrisk: Spatial Concentration and Radius-Based Risk Calculations (Version 0.8.1) [Computer software]. https://doi.org/10.32614/CRAN.package.spatialrisk

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 spatialrisk version 0.8.1 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-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