Bindings for 'Open Source Routing Machine'
Overview
Install and control 'Open Source Routing Machine' ('OSRM') backend executables to prepare routing data and run/stop a local 'OSRM' server. For computations with the running server use the 'osrm' package for 'R' (https://cran.r-project.org/package=osrm).
Bug fixes
- Replaced network-dependent unit tests with deterministic offline tests, so
R CMD checknow succeeds without internet access or GitHub API availability. osrm_install()now validates the manual install argumentsfile_pathanddownload_urlfirst. A missing, unreadable or malformed value fails immediately, before any version resolution, destination directory creation or GitHub request.- Manual installations from
file_pathordownload_urlno longer contact GitHub to resolve or verify a version, and no longer apply the macOS compatibility check, since neither applies to a user supplied archive. - The GitHub API client gained an explicit request timeout, a bounded retry budget and accurate response classification. A primary rate limit response, meaning HTTP 403 with
X-RateLimit-Remaining: 0, now fails at once and reports when the limit resets and how to setGITHUB_PAT, instead of retrying four times. API errors again say which request failed. - Installing a manual archive that lacks Lua profiles no longer fails with an internal error when a non-default binary provider is selected. It now reports that profiles cannot be fetched for a manual archive.
Breaking changes
osrm_install()rejectsfile_pathanddownload_urlsupplied together instead of silently preferringfile_path.- Because a manual archive is never resolved against a release, its OSRM version is unknown. When
dest_dirisNULL, such an archive is now installed into a subdirectory namedmanualrather than one named after a version looked up online, and supplementary v6 runtime libraries are not installed automatically. Passing an explicitversiontag alongside the archive restores both behaviours without any network lookup.
Internal
- Declared the existing minimum requirement of R (>= 3.5.0) in
DESCRIPTION.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR10 OK, 3 ERROR2026-07-12
- OK14 OK2026-04-16
- ERROR13 OK, 1 ERROR2026-04-15
- OK14 OK2026-03-10
Documentation
- Help pages
- 22 (1 internal)includes a package overview page
- Examples that run
- 5%1 run in a plain check (under a condition) · 18 only when donttest examples are enabled (R CMD check --as-cran) · 2 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
18 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/e-kotov/osrm.backend on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-17 · The repository has a site deploy workflow
pkgdown site last built 2026-10-17
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-11-25Named in .Rbuildignore: .claudeCommits: some crediting it in the message, count not recorded
Dependencies
Installing osrm.backend adds 18 packages (13 with compiled code, 7.9 MB of source tarballs). Heaviest: viridisLite 1.2 MB, openssl 1.1 MB, jsonlite 1.0 MB.
Code & Tests
People & History
Package metadata
- First published
- 2025-12-03
- Total releases
- 7 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("osrm.backend")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.32614/cran.package.osrm.backend, 10.21105/joss.04574.
The repository also keeps a CITATION.cff.
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.