{
  "_id": "6af639def58eaab79920c6c8",
  "Package": "cppRouting",
  "Type": "Package",
  "Title": "Algorithms for Routing and Solving the Traffic Assignment\nProblem",
  "Version": "4.1",
  "Date": "2026-11-12",
  "Authors@R": "person(given = \"Vincent\",family = \"Larmet\",role = c(\"aut\", \"cre\"),email = \"larmet.vincent@gmail.com\")",
  "Description": "Calculation of distances, shortest paths and isochrones on\nweighted graphs using several variants of Dijkstra algorithm.\nProposed algorithms are unidirectional Dijkstra (Dijkstra, E.\nW. (1959) <doi:10.1007/BF01386390>), bidirectional Dijkstra\n(Goldberg, Andrew & Fonseca F. Werneck, Renato (2005)\n<https://www.cs.princeton.edu/courses/archive/spr06/cos423/Handouts/EPP%20shortest%20path%20algorithms.pdf>),\nA* search (P. E. Hart, N. J. Nilsson et B. Raphael (1968)\n<doi:10.1109/TSSC.1968.300136>), new bidirectional A* (Pijls &\nPost (2009) <https://repub.eur.nl/pub/16100/ei2009-10.pdf>),\nContraction hierarchies (R. Geisberger, P. Sanders, D. Schultes\nand D. Delling (2008) <doi:10.1007/978-3-540-68552-4_24>),\nPHAST (D. Delling, A.Goldberg, A. Nowatzyk, R. Werneck (2011)\n<doi:10.1016/j.jpdc.2012.02.007>). Algorithms for solving the\ntraffic assignment problem are All-or-Nothing assignment,\nMethod of Successive Averages, Frank-Wolfe algorithm (M.\nFukushima (1984) <doi:10.1016/0191-2615(84)90029-8>), Conjugate\nand Bi-Conjugate Frank-Wolfe algorithms (M. Mitradjieva, P. O.\nLindberg (2012) <doi:10.1287/trsc.1120.0409>), Algorithm-B (R.\nB. Dial (2006) <doi:10.1016/j.trb.2006.02.008>), Customizable\nContraction Hierarchies (J. Dibbelt, B. Strasser, D. Wagner\n(2014) <doi:10.1145/2886843>).",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "SystemRequirements": "GNU make, zlib",
  "URL": "https://github.com/vlarmet/cppRouting",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Config/roxygen2/version": "8.0.0",
  "Config/testthat/edition": "3",
  "Packaged": {
    "Date": "2026-11-12 22:03:57 UTC",
    "User": "root"
  },
  "Author": "Vincent Larmet [aut, cre]",
  "Maintainer": "Vincent Larmet <larmet.vincent@gmail.com>",
  "Config/pak/sysreqs": "make zlib1g-dev",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-12 14:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/cppRouting",
  "RemoteRef": "HEAD",
  "RemoteSha": "4c94b1008e723e9c1c4d84260f9839adbbc29b1a",
  "_user": "cran",
  "_type": "src",
  "_file": "cppRouting_4.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/c241a4757b3346cde55240d6bef8ccb379d80f39d532c2d58eb7695891ba266b",
  "_filesize": 366249,
  "_sha256": "c241a4757b3346cde55240d6bef8ccb379d80f39d532c2d58eb7695891ba266b",
  "_expires": "2027-02-20T22:12:44.000Z",
  "_created": "2026-11-12T22:03:57.000Z",
  "_published": "2026-11-12T22:12:46.315Z",
  "_upstream": "https://github.com/cran/cppRouting",
  "_status": "success",
  "_maintainer": {
    "name": "Vincent Larmet",
    "email": "larmet.vincent@gmail.com",
    "login": "vlarmet",
    "description": "",
    "uuid": 48824420
  },
  "_jobs": [
    {
      "job": 131526325175,
      "time": 174,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13987434368"
    },
    {
      "job": 131526325183,
      "time": 220,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13989705061"
    },
    {
      "job": 131526325239,
      "time": 171,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13988597211"
    },
    {
      "job": 131526325225,
      "time": 208,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13988547365"
    },
    {
      "job": 131522510611,
      "time": 403,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13989215931"
    },
    {
      "job": 131526325222,
      "time": 149,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13988981781"
    },
    {
      "job": 131526325248,
      "time": 327,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13988188155"
    },
    {
      "job": 131526325283,
      "time": 396,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13989785286"
    },
    {
      "job": 131526325216,
      "time": 308,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13989251279"
    },
    {
      "job": 131526325386,
      "time": 359,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13989645540"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/43315491858",
  "_commit": {
    "id": "4c94b1008e723e9c1c4d84260f9839adbbc29b1a",
    "author": "Vincent Larmet <larmet.vincent@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 4.1\n",
    "time": 1794492602
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "RcppProgress",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.7",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "osmextract",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 8,
  "_updates": [
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2026-46",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "3.2",
      "date": "2025-11-28"
    },
    {
      "name": "4.0",
      "date": "2026-11-10"
    },
    {
      "name": "4.1",
      "date": "2026-11-12"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "vlarmet",
      "count": 8,
      "uuid": 48824420
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 637,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 1003,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cppRouting"
  },
  "_devurl": "https://github.com/vlarmet/cpprouting",
  "_searchresults": 79,
  "_topics": [
    "zlib",
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::char_get_string_elt()",
        "hash": "b8ef75689d832a84"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/cppRouting.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_homeurl": "https://github.com/vlarmet/cpprouting",
  "_realowner": "vlarmet",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.1",
      "date": "2019-06-21"
    },
    {
      "version": "1.2",
      "date": "2019-09-30"
    },
    {
      "version": "2.0",
      "date": "2020-01-07"
    },
    {
      "version": "3.0",
      "date": "2022-11-28"
    },
    {
      "version": "3.1",
      "date": "2022-12-01"
    },
    {
      "version": "3.2",
      "date": "2025-11-28"
    },
    {
      "version": "4.0",
      "date": "2026-11-10"
    },
    {
      "version": "4.1",
      "date": "2026-11-12"
    }
  ],
  "_exports": [
    "assign_traffic",
    "cpp_contract",
    "cpp_customize",
    "cpp_extract",
    "cpp_simplify",
    "get_aon",
    "get_detour",
    "get_distance_matrix",
    "get_distance_pair",
    "get_isochrone",
    "get_multi_paths",
    "get_path_pair",
    "makegraph",
    "osm_bike_profile",
    "osm_car_profile",
    "osm_foot_profile",
    "osm_hgv_profile",
    "to_df",
    "to_igraph"
  ],
  "_help": [
    {
      "page": "assign_traffic",
      "title": "Algorithms for solving the Traffic Assignment Problem (TAP).",
      "topics": [
        "assign_traffic"
      ]
    },
    {
      "page": "cpp_contract",
      "title": "Contraction hierarchies algorithm",
      "topics": [
        "cpp_contract"
      ]
    },
    {
      "page": "cpp_customize",
      "title": "Customize a CCH with edge weights",
      "topics": [
        "cpp_customize"
      ]
    },
    {
      "page": "cpp_extract",
      "title": "Extract a routable graph from a geographic source",
      "topics": [
        "cpp_extract"
      ]
    },
    {
      "page": "cpp_simplify",
      "title": "Reduce the number of edges by removing non-intersection nodes, duplicated edges and isolated loops in the graph.",
      "topics": [
        "cpp_simplify"
      ]
    },
    {
      "page": "get_aon",
      "title": "Given an origin-destination matrix, compute All-or-Nothing assignment.",
      "topics": [
        "get_aon"
      ]
    },
    {
      "page": "get_detour",
      "title": "Return the nodes that can be reached in a detour time set around the shortest path",
      "topics": [
        "get_detour"
      ]
    },
    {
      "page": "get_distance_matrix",
      "title": "Compute all shortest distance between origin and destination nodes.",
      "topics": [
        "get_distance_matrix"
      ]
    },
    {
      "page": "get_distance_pair",
      "title": "Compute shortest distance between origin and destination nodes.",
      "topics": [
        "get_distance_pair"
      ]
    },
    {
      "page": "get_isochrone",
      "title": "Compute isochrones/isodistances from nodes.",
      "topics": [
        "get_isochrone"
      ]
    },
    {
      "page": "get_multi_paths",
      "title": "Compute all shortest paths between origin and destination nodes.",
      "topics": [
        "get_multi_paths"
      ]
    },
    {
      "page": "get_path_pair",
      "title": "Compute shortest path between origin and destination nodes.",
      "topics": [
        "get_path_pair"
      ]
    },
    {
      "page": "makegraph",
      "title": "Construct graph",
      "topics": [
        "makegraph"
      ]
    },
    {
      "page": "osm_bike_profile",
      "title": "Default bicycle profile for OSM PBF import",
      "topics": [
        "osm_bike_profile"
      ]
    },
    {
      "page": "osm_car_profile",
      "title": "Default car profile for OSM PBF import",
      "topics": [
        "osm_car_profile"
      ]
    },
    {
      "page": "osm_foot_profile",
      "title": "Default pedestrian profile for OSM PBF import",
      "topics": [
        "osm_foot_profile"
      ]
    },
    {
      "page": "osm_hgv_profile",
      "title": "Default heavy goods vehicle (truck) profile for OSM PBF import",
      "topics": [
        "osm_hgv_profile"
      ]
    },
    {
      "page": "to_df",
      "title": "Convert cppRouting graph to data.frame",
      "topics": [
        "to_df"
      ]
    },
    {
      "page": "to_igraph",
      "title": "Convert cppRouting graph to an igraph object",
      "topics": [
        "to_igraph"
      ]
    }
  ],
  "_rundeps": [
    "data.table",
    "Rcpp",
    "RcppParallel",
    "RcppProgress"
  ],
  "_sysdeps": [
    {
      "shlib": "libz",
      "package": "zlib1g",
      "headers": "zlib1g-dev",
      "source": "zlib",
      "version": "1:1.3.dfsg+really1.3.1-1ubuntu3.2",
      "name": "zlib",
      "homepage": "http://zlib.net/",
      "description": "compression library - runtime"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "cppRouting.Rmd",
      "filename": "cppRouting.html",
      "title": "cppRouting",
      "author": "Vincent Larmet",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Package presentation",
        "Main functions",
        "Routing algorithms",
        "Traffic assignment algorithms",
        "All-or-Nothing (AON)",
        "User Equilibrium (UE)",
        "Examples and applications using cppRouting"
      ],
      "created": "2022-11-28 12:00:04",
      "modified": "2022-11-28 12:00:04",
      "commits": 1
    }
  ],
  "_score": 4.5801692616864464,
  "_indexed": false,
  "_nocasepkg": "cpprouting",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://vlarmet.r-universe.dev/cppRouting",
  "_previous": "4.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.1",
      "date": "2026-11-12T22:07:16.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "4c94b1008e723e9c1c4d84260f9839adbbc29b1a",
      "fileid": "https://r2.ropensci.org/ed79dcc06f44f1fd813bedf6f97c2951dca85de7155f617ac7f8e26a4dd69dfd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315491858"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.1",
      "date": "2026-11-12T22:07:35.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "4c94b1008e723e9c1c4d84260f9839adbbc29b1a",
      "fileid": "https://r2.ropensci.org/deda2424b940f2e9d7b2140a8ad95a46872157a59de1de501c97d55655e971f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315491858"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "4.1",
      "date": "2026-11-12T22:07:16.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "4c94b1008e723e9c1c4d84260f9839adbbc29b1a",
      "fileid": "https://r2.ropensci.org/353db0000d849981194b32f29ed37e7f843477080dbfe33ea0e48e6d7e5d9ce4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315491858"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "4.1",
      "date": "2026-11-12T22:07:40.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "4c94b1008e723e9c1c4d84260f9839adbbc29b1a",
      "fileid": "https://r2.ropensci.org/cf3a5745d733205c78426eaec09ecc39a9d06eadef93105d0d1f99cbe5f178f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315491858"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.1",
      "date": "2026-11-12T22:07:34.000Z",
      "arch": "emscripten",
      "commit": "4c94b1008e723e9c1c4d84260f9839adbbc29b1a",
      "fileid": "https://r2.ropensci.org/3dea0dfc4624779074431f4a158802a1db59c716051a79e2aba90e1dd3f87497",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315491858"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "4.1",
      "date": "2026-11-12T22:08:41.000Z",
      "arch": "aarch64",
      "commit": "4c94b1008e723e9c1c4d84260f9839adbbc29b1a",
      "fileid": "https://r2.ropensci.org/3fac15395ddaad9e8bfb4ffcb0a9d0104cbeb7ef464fae759301ed5941d64481",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315491858"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "4.1",
      "date": "2026-11-12T22:08:19.000Z",
      "arch": "x86_64",
      "commit": "4c94b1008e723e9c1c4d84260f9839adbbc29b1a",
      "fileid": "https://r2.ropensci.org/c4f90c46626a244094e77baffd3ef58d7c85119e5735dfad0083a12e1a3a46aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315491858"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "4.1",
      "date": "2026-11-12T22:08:33.000Z",
      "arch": "aarch64",
      "commit": "4c94b1008e723e9c1c4d84260f9839adbbc29b1a",
      "fileid": "https://r2.ropensci.org/ab3481d46581edb3ffa39906b66f7de747390ab4990f076c61bad3f04b0870f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315491858"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "4.1",
      "date": "2026-11-12T22:07:59.000Z",
      "arch": "x86_64",
      "commit": "4c94b1008e723e9c1c4d84260f9839adbbc29b1a",
      "fileid": "https://r2.ropensci.org/3a5939f555424ce33bbd4596b93668ee7cb8670427fa106bacdd6b7f678e3bdd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43315491858"
    }
  ]
}