Skip to content

stplanr

1.2.3

Sustainable Transport Planning

4packages depend
24.1Kdownloads / year
8.7%test coverage
13/13checks pass

Overview

About
Maintained by Robin LovelaceFirst published 2015-11-0253 releasesCRAN page ↗GitHub ↗

Tools for transport planning with an emphasis on spatial transport data and non-motorized modes. The package was originally developed to support the 'Propensity to Cycle Tool', a publicly available strategic cycle network planning tool (Lovelace et al. 2017) doi:10.5198/jtlu.2016.862, but has since been extended to support public transport routing and accessibility analysis (Moreno-Monroy et al. 2017) doi:10.1016/j.jtrangeo.2017.08.012 and routing with locally hosted routing engines such as 'OSRM' (Lowans et al. 2023) doi:10.1016/j.enconman.2023.117337. The main functions are for creating and manipulating geographic "desire lines" from origin-destination (OD) data (building on the 'od' package); calculating routes on the transport network locally and via interfaces to routing services such as https://cyclestreets.net/ (Desjardins et al. 2021) doi:10.1007/s11116-021-10197-1; and calculating route segment attributes such as bearing. The package implements the 'travel flow aggregration' method described in Morgan and Lovelace (2020) doi:10.1177/2399808320942779 and the 'OD jittering' method described in Lovelace et al. (2022) doi:10.32866/001c.33873. Further information on the package's aim and scope can be found in the vignettes and in a paper in the R Journal (Lovelace and Ellison 2018) doi:10.32614/RJ-2018-053, and in a paper outlining the landscape of open source software for geographic methods in transport planning (Lovelace, 2021) doi:10.1007/s10109-020-00342-2.

Install

Health

CRAN checks
13OK
Slowest check: 3.1 min · r-oldrel-windows-x86_64
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation signals are not tracked yet for this package.

Downloads

24.1K
CRAN downloads in the past year
Rank #3,371 · ~66/day · ~2K/mo
stplanr
Daily download trend is not available in this view yet.
1.1K30 days
3.5K90 days
24.1K1 year
Compare downloads with other packages →
Also on301 r2u31 autocran76 c2d4u

Repository

Repository
442Stars
68Forks
23Open issues
3Open PRs
45Releases
2,120Commits
35Contributors
rtransportspatialrstatsr-packagepeer-reviewedtransport-planningwalking
2,120 commits · Last activity 2025-04-28 · 0% stars, 30d

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/ropensci/stplanr on 2026-07-19.

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

Dependencies

Declared dependencies
29 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect

Code & Tests

Datasets

People & History

People (12)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author · added in 0.1.4
Contributors (8)
Contributor
Contributor · added in 0.1.7
Contributor · added in 0.4.0
Contributor · added in 0.2.8
Contributor · added in 1.2.0
Contributor · added in 1.2.3
Contributor
Contributor · added in 1.1.2
Reviewers (1)
Reviewer · added in 0.3.1
Listed in earlier versions (1)
no longer listed · 0.2.1 to 0.3.0
Package Timeline

53 releases. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.3Latest
    2025-04-21 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2.2
    2024-08-22 · diff ↗
  • 1.2.1
    2024-05-02 · diff ↗
  • 1.2.0
    2024-04-26 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.2
    2023-09-15 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.2
    2022-11-08 · diff ↗
  • 1.0.1
    2022-08-20 · diff ↗
  • 1.0.0
    2022-06-10 · diff ↗
  • 0.9.0
    2022-05-11 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.8.7
    2022-02-01 · diff ↗
  • 0.8.6
    2021-11-26 · diff ↗
Show 51 earlier events

Package metadata

First published
2015-11-02
Total releases
53 / 11 yrs
License
MIT + file LICENSE OSI
Download size
1.9 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →