The SpatialGraph Class and Utilities
Overview
Provision of the S4 SpatialGraph class built on top of objects provided by 'igraph' and 'sp' packages, and associated utilities. See the documentation of the SpatialGraph-class within this package for further description. An example of how from a few points one can arrive to a SpatialGraph is provided in the function sl2sg().
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) distSG.Rd:40: Lost braces; missing escapes or markup?
40 | matrix and weight matrix (plus a matrix with {eID} identifiers
| ^NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Javier Garcia-Pintado <jgarciapintado@marum.de>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Javier",
family = "Garcia-Pintado",
role = c("aut", "cre"),
email = "jgarciapintado@marum.de")
as necessary.- NOTE13 NOTENow
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 24includes a package overview page
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 9%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 4%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Issues over time
Checks run against github.com/garciapintado/spatialgraph on 2026-10-22.
No development-tooling practices detected in the upstream repository.
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0-4Latest2023-09-28 · current release · diff ↗ ·
removed 1 export
pointPolylineDadded 3 exports
distSG, pointsPolylineD, pointsSLDFchain - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.0-22018-11-27 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 19 exports
attSGe, distSGv, explodeSLDF, pointLineD, pointOnLine, pointOnSegment, pointPolylineD, pointsToLines, polylineChainage, polylineLength, revSGe, rotation, routeSDG, sg2igraph, sgChVIDs, sl2sg, splitPolyline, splitSLDF, textSGe - 1.0-12018-11-02
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-11-02
- Total releases
- 3 / 8 yrs
- License
- GPL (>= 2) OSI
- Download size
- 25 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("SpatialGraph")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.