R Observatory
Search
install.packages("cppRouting")
CRAN checks, method
OKnotes on 2 of 13
CRAN 30-day downloads, method
770+7.5% up on the 30 days before, the better direction

Calculation of distances, shortest paths and isochrones on weighted graphs using several variants of Dijkstra algorithm. Proposed algorithms are unidirectional Dijkstra (Dijkstra, E. W. (1959) <doi:10.1007/BF01386390>), bidirectional Dijkstra (Goldberg, Andrew & Fonseca F.

Full description

Calculation of distances, shortest paths and isochrones on weighted graphs using several variants of Dijkstra algorithm. Proposed algorithms are unidirectional Dijkstra (Dijkstra, E. W. (1959) <doi:10.1007/BF01386390>), bidirectional Dijkstra (Goldberg, Andrew & Fonseca F. Werneck, Renato (2005) <https://www.cs.princeton.edu/courses/archive/spr06/cos423/Handouts/EPP%20shortest%20path%20algorithms.pdf>), A* search (P. E. Hart, N. J. Nilsson et B. Raphael (1968) <doi:10.1109/TSSC.1968.300136>), new bidirectional A* (Pijls & Post (2009) <https://repub.eur.nl/pub/16100/ei2009-10.pdf>), Contraction hierarchies (R. Geisberger, P. Sanders, D. Schultes and D. Delling (2008) <doi:10.1007/978-3-540-68552-4_24>), PHAST (D. Delling, A.Goldberg, A. Nowatzyk, R. Werneck (2011) <doi:10.1016/j.jpdc.2012.02.007>). Algorithms for solving the traffic assignment problem are All-or-Nothing assignment, Method of Successive Averages, Frank-Wolfe algorithm (M. Fukushima (1984) <doi:10.1016/0191-2615(84)90029-8>), Conjugate and Bi-Conjugate Frank-Wolfe algorithms (M. Mitradjieva, P. O. Lindberg (2012) <doi:10.1287/trsc.1120.0409>), Algorithm-B (R. B. Dial (2006) <doi:10.1016/j.trb.2006.02.008>).

Maintainer
Vincent Larmet
Licence
GPL (>= 2)
Latest release
28 Nov 2025
First release
21 Jun 2019

Compare with another package

More details
Releases
6
Needs compilation
Yes
Date
2025-11-28
RoxygenNote
7.2.1
SystemRequirements
GNU make
Cite

Package

Run in R for the authors' preferred citation:

citation("cppRouting")
APA
Larmet, V. (2025). cppRouting: Algorithms for Routing and Solving the Traffic Assignment
Problem (Version 3.2) [Computer software]. https://doi.org/10.32614/CRAN.package.cppRouting
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 cppRouting version 3.2 [Data set]. HJJB, LLC. Data release v2026-10-29. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-29, which the citation names so these numbers can be found later.

No warnings or errors. 2 of 13 check platforms have notes.

  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    Note

    Version checked
    3.2
    Time taken
    125 s

    dependencies in R code: Note

    Namespace in Imports field not imported from:

    Full output

  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    Note

    Version checked
    3.2
    Time taken
    131 s

    dependencies in R code: Note

    Namespace in Imports field not imported from:

    Full output

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    3.2
    Time taken
    150 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    3.2
    Time taken
    120 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    3.2
    Time taken
    294 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    3.2
    Time taken
    23 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    3.2
    Time taken
    209 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    3.2
    Time taken
    242 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    3.2
    Time taken
    150 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    3.2
    Time taken
    153 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    3.2
    Time taken
    26 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    3.2
    Time taken
    153 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    3.2
    Time taken
    242 s
  • 2 Note
  • 11 OK
Check output (1)

dependencies in R code, Note on 2 platforms

Namespace in Imports field not imported from:
  ‘RcppProgress’
All declared Imports should be used.

Over time

No change since 22 Apr 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
22 Apr 2026Note9500
18 Apr 2026Error8501
10 Apr 2026Note9500
9 Apr 2026Error8501
10 Mar 2026Note9500

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
975+20.5% up on the 30 days before, the better directionIt is the sum of 4 channels: CRAN, r2u, autoCRAN and conda-forge.

CRAN rank

4,256 of 26,553

CRAN

770 downloads in the last 30 days

Rank
4,256 of 26,553
Change
+7.5% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

30 downloads in the last 30 days

Rank
3,957 of 30,526
Change
+3.5% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

18 downloads in the last 30 days

Rank
2,640 of 29,233
Change
−14.3% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

157 downloads in the last 30 days

Rank
2,832 of 3,828
Change
+265% up on the 30 days before, the better direction

It is in the total. Take it out

Over time

Compare downloads

Needs
4
Dependent packages
7
Suggested by
0
Needs (4)
Installing it adds
4 packages, 8.2 MB of source
Of those, need compilation
3
Optional extras (3)
Dependent packages (7)
PackageTitleDownloads in 30 days
spNetworkSpatial Analysis on Network582
himachFind Routes for Supersonic Aircraft433
spannerUtilities to Support Lidar Applications at the Landscape, Forest, and Tree Scale426
GISSBNetwork Analysis on the Norwegian Road Network319
uciUrban Centrality Index266
rTARDISTerrains and Routes Directed in Spacetime198
havelVisualize and Tabulate 'R' Package Dependencies181
Functions
202
Public exports
12
Lines of R code
1,534
Median complexity
1
Functions (202)
Size and composition

Lines by kind (10,594)

KindLinesShare
R code1,53414%
Documentation9069%
Guides1051.0%
Compiled code8,04976%

Lines by language

LanguageLinesShare
C++7,30869%
R1,53415%
Rd9069%
C7417%
Vignettes1051%

Languages are counted from file extensions.

Files
62
R functions
31
Compiled functions
171
Complexity
Median
1
Mean
6
Highest
32
Median lines per function
3
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
31
Calls
20
Unconnected
4
Groups
7
Growth (6 releases)
Total lines by release
2,935 on 21 Jun 201910,594 on 28 Nov 2025
Release changes

The package was built and has no tests to run.

Lines of tests
0
Exports named in tests
0%
Test suite
Has tests
No
Test frameworks
No tests in this release
Test lines per line of code
0
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
100%
Examples run in checks
100%
Guides (1)
Other documentation
README
No
Release notes file
Yes
Help pages
12
Lines of documentation
906

vlarmet / cpprouting on github.com

Stars
122no change on 30 days ago
Forks
11
Open issues
11
Last commit
22 Jul 2026
Activity
Commits
170
Open pull requests
0
Tagged releases
4
Latest tagged release
v2.0, 28 Nov 2022
In development
Default branch at 4.0, ahead of CRAN 3.2 (checked 2026-10-25)
Issues closed in
3 days (median)
Pull requests closed in
2 days (median)
Pull requests merged
25%
Created
1 Jun 2019
Licence file reads as
–
Development practices (2)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Method, repository practices

Across vlarmet

R releases
  • On CRAN
  • Release
VersionReleasedR
3.2 current28 Nov 20254.5.2
3.11 Dec 20224.2.2
3.028 Nov 20224.2.2
2.07 Jan 20203.6.2
1.230 Sep 20193.6.1
1.121 Jun 20193.6.0
Release notes (3.2)
  • update DESCRIPTION file : remove c++11 specification and add Authors@R field