Skip to content

spNetwork

0.4.4.7Package record

Spatial Analysis on Network

0packages depend
6.7Kdownloads / year
86.2%test coverage
11/13flavors OK

Overview

About

Perform spatial analysis on network. Implement several methods for spatial analysis on network: Network Kernel Density estimation, building of spatial matrices based on network distance ('listw' objects from 'spdep' package), K functions estimation for point pattern analysis on network, k nearest neighbours on network, reachable area calculation, and graph generation References: Okabe et al (2019) doi:10.1080/13658810802475491; Okabe et al (2012, ISBN:978-0470770818);Baddeley et al (2015, ISBN:9781482210200).

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage:
  ‘esc_kernel_loo_nkde.Rd’ ‘esc_kernel_loo_tnkde.Rd’
  ‘esd_kernel_loo_nkde.Rd’ ‘esd_kernel_loo_tnkde.Rd’
\arguments should not be documented without \usage.

CRAN check page ↗

Slowest check: 11.2 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 1 NOTE2026-07-11
  • OK13 OK2026-06-08
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-04-22
Show 4 earlier changesHide 4 earlier changes
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
  • NOTE11 OK, 3 NOTE2026-04-10
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-04-09
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.4.4.7
READMEYes · 1,047 wordsVignettesYes · 5 · dynamicNEWSYes · 67% structured · does not mention 0.4.4.7Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites an R Journal article
Help pages
175 (105 internal)includes a package overview page
Examples that run
9%10 run in a plain check · 29 only when donttest examples are enabled (R CMD check --as-cran) · 68 hold no code
Exported functions with examples
71%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
2% with a bibliography file

Downloads

6.7K
CRAN downloads in the past year
Rank #6,493 · ~18/day · ~561/mo
Daily download trend is not available in this view yet.
52930 days
1.3K90 days
6.7K1 year
Compare downloads with other packages →
Also on596 r2u10 autocran

Repository

42Stars
3Forks
3Open issues
0Open PRs
0Releases
236Commits
3Commit identities
spatial-analysisrnetworkkernel-density-estimationkernelrstatsnetwork-analysisr-package
License file reads as GPL-2.0 · 236 commits · Last activity 2025-10-04
Responsiveness
How these are sampled
PRs merged (all time)
0%
Median days to close, 50 most recently updated closed issues
11
Median days to close, 50 most recently updated closed PRs
4
PracticesBeta

10 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/jeremygelb/spnetwork 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 (2)
Code of conductContributing guide
Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-10-04

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

Dependencies

Declared dependencies
33 external dependencies (excludes base and recommended)

Installing spNetwork adds 54 packages (31 with compiled code, 80 MB of source tarballs). Heaviest: BH 14 MB, sf 9.3 MB, ggplot2 6.0 MB.

Depends (1)
R >= 3.6
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.1.0 (2021)
Contributor
Releases (17)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.4.7Latest
    record
    2025-10-05 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.4.6
    record
    2025-03-29 · diff ↗
  • 0.4.4.5
    record
    2025-01-20 · diff ↗
  • unarchivedReturned to CRAN
    2025-01-14
  • 0.4.4.4
    record
    2025-01-14 · diff ↗ ·
    removed 3 exports
    build_quadtree, spatial_index, spatial_request
    added 11 exports
    build_graph_cppr, gfunc_counting, gfunc_cpp2, kfunc_counting, kfunc_cpp2, kfunc_time_counting, kgfunc_counting, kgfunc_cpp2, kgfunc_time_counting, pair_dists, rev_matrix
  • archivedRemoved from CRAN
    2024-10-22
    issues were not corrected in time
  • unarchivedReturned to CRAN
    2024-06-21
  • 0.4.4.3
    record
    2024-06-21 · diff ↗
  • archivedRemoved from CRAN
    2024-06-03
    issues were not corrected in time
  • 0.4.4
    record
    2024-05-20 · diff ↗ ·
    removed 2 exports
    bws_tnkde_cv_likelihood_calc, bws_tnkde_cv_likelihood_calc.mc
    added 7 exports
    adaptive_bw_tnkde_cpp2, bw_tnkde_cv_likelihood_calc, bw_tnkde_cv_likelihood_calc.mc, calcEuclideanDistance3, lines_extremities, nkde_worker, tnkde_get_loo_values2
  • R
    R 4.4.0 released · 2024-04-24
  • unarchivedReturned to CRAN
    2023-08-24
  • 0.4.3.8
    record
    2023-08-24 · diff ↗ ·
    removed 2 exports
    bw_tnkde_cv_likelihood_calc, bw_tnkde_cv_likelihood_calc.mc
    added 2 exports
    bws_tnkde_cv_likelihood_calc, bws_tnkde_cv_likelihood_calc.mc
  • archivedRemoved from CRAN
    2023-08-15
    issues were not corrected in time
Show 18 earlier eventsHide 18 earlier events
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.3.7
    record
    2023-04-11 · diff ↗
  • 0.4.3.6
    record
    2022-11-11 · diff ↗ ·
    added 1 export
    simple_lines
  • 0.4.3.2
    record
    2022-05-14 · diff ↗ ·
    added 1 export
    spatial_index
  • 0.4.3.1
    record
    2022-04-24 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.3
    record
    2022-04-21 · diff ↗
  • unarchivedReturned to CRAN
    2022-04-20
  • 0.4.2
    record
    2022-04-20 · diff ↗ ·
    removed 3 exports
    get_loo_values_continuous, get_loo_values_discontinuous, get_loo_values_simple
    added 21 exports
    adaptive_bw_tnkde_cpp, build_quadtree, bw_cv_likelihood_calc_tkde, bw_tnkde_cv_likelihood_calc, bw_tnkde_cv_likelihood_calc.mc, continuous_tnkde_cpp_arma, continuous_tnkde_cpp_arma_sparse, discontinuous_tnkde_cpp_arma, discontinuous_tnkde_cpp_arma_sparse, gfunc_cpp, k_nt_functions, k_nt_functions.mc, kfunc_cpp, nkde_get_loo_values, spatial_request, tkde, tnkde, tnkde.mc, tnkde_get_loo_values, tnkde_worker_bw_sel, worker_adaptive_bw_tnkde
  • archivedRemoved from CRAN
    2022-03-28
    check problems were not corrected in time
  • unarchivedReturned to CRAN
    2021-10-30
  • 0.2.1
    record
    2021-10-30 · diff ↗
  • archivedRemoved from CRAN
    2021-10-25
    check problems were not corrected in time
  • 0.2.0
    record
    2021-10-09 · diff ↗ ·
    added 19 exports
    aggregate_points, build_graph, build_graph_directed, bw_cv_likelihood_calc, bw_cv_likelihood_calc.mc, bw_cvl_calc, bw_cvl_calc.mc, calc_isochrones, closest_points, get_loo_values_continuous, get_loo_values_discontinuous, get_loo_values_simple, lines_direction, network_knn, network_knn.mc, simplify_network, snapPointsToLines2, split_graph_components, split_lines_at_vertex
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.1
    record
    2021-01-22 · diff ↗
  • 0.1.0
    record
    2021-01-18
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-01-18
Total releases
17 / 5 yrs
License
GPL-2 OSI
Minimum R
≥ 3.6
Bundled data
389 KB / 6 files
Download size
4.3 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("spNetwork")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.32614/rj-2021-102.

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 spNetwork version 0.4.4.7 [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