Skip to content

cppSim

0.2

Fast and Memory Efficient Spatial Interaction Models

0packages depend
5.4Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Ivann SchlosserFirst published 2025-09-031 releasesCRAN page ↗GitHub ↗

Building on top of the 'RcppArmadillo' linear algebra functionalities to do fast spatial interaction models in the context of urban analytics, geography, transport modelling. It uses the Newton root search algorithm to determine the optimal cost exponent and can run country level models with thousands of origins and destinations. It aims at implementing an easy approach based on matrices, that can originate from various routing and processing steps earlier in an workflow. Currently, the simplest form of production, destination and doubly constrained models are implemented. Schlosser et al. (2023) <doi:10.48550/arXiv.2309.02112>.

Install

Health

CRAN checks
13OK
Code health
Yes
Tests · ratio 0.31
not tracked
Coverage
100%
Documentation · exports
Yes
Vignettes
Yes
README
1
Dependencies · direct
Check history
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

5.4K
CRAN downloads in the past year
Rank #7,404 · ~15/day · ~453/mo
cppSim
Daily download trend is not available in this view yet.
52230 days
1.5K90 days
5.4K1 year
Compare downloads with other packages →
Also on387 r2u40 autocran
Source & community
GitHub ↗

Repository stars, issues, and contributor activity are not tracked yet.

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6
Imports (1)
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code & Tests

Code Composition
Vignettes 617 (34%)C++ 500 (27%)R 451 (25%)Rd 225 (12%)CSS 36 (2%)C 10 (1%)

Test coverage

Line coverage

Expression

Tests / Examples

Functions

31 3 exported

Complexity

1.3 avg / 4 max

Call network

31 nodes / 17 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Release timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-09-03
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet