Skip to content

osrm.backend

0.4.1Package record

Bindings for 'Open Source Routing Machine'

0packages depend
3.6Kdownloads / year
36.0%test coverage
13/13flavors OK

Overview

About

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).

Changes in 0.4.1

Bug fixes

  • Replaced network-dependent unit tests with deterministic offline tests, so R CMD check now succeeds without internet access or GitHub API availability.
  • osrm_install() now validates the manual install arguments file_path and download_url first. A missing, unreadable or malformed value fails immediately, before any version resolution, destination directory creation or GitHub request.
  • Manual installations from file_path or download_url no 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 set GITHUB_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() rejects file_path and download_url supplied together instead of silently preferring file_path.
  • Because a manual archive is never resolved against a release, its OSRM version is unknown. When dest_dir is NULL, such an archive is now installed into a subdirectory named manual rather than one named after a version looked up online, and supplementary v6 runtime libraries are not installed automatically. Passing an explicit version tag 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

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR10 OK, 3 ERROR2026-07-12
  • OK14 OK2026-04-16
  • ERROR13 OK, 1 ERROR2026-04-15
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.1
READMEYes · 547 wordsVignettesYes · 3 · staticNEWSYes · 100% structured · mentions 0.4.1Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JOSS paper
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

3.6K
CRAN downloads in the past year
Rank #11,859 · ~10/day · ~303/mo
Daily download trend is not available in this view yet.
34930 days
92090 days
3.6K1 year
Compare downloads with other packages →
Also on102 r2u3 autocran

Repository

8Stars
1Forks
1Open issues
0Open PRs
7Releases
234Commits
3Commit identities
osmosrmrrouting
234 commits · Last activity 2026-10-10 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-11-12 · 12026-07-11 · 8
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (4)
Code of conductContributing guideIssue templatesSupport guide
Docs source (4)
README.qmdpkgdown

GitHub Pages site last deployed 2026-10-17 · The repository has a site deploy workflow

pkgdown site last built 2026-10-17

Coverage (2)
Coverage reporting (Codecov).covrignore
Show all practicesHide 3 practices
CRAN release process (1)
cran-comments.md
Research and citation (2)
CITATION.cffcodemeta.json
Lint, format, editor (3)
AirVS CodeRStudio project
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-11-25
    Named in .Rbuildignore: .claude
    Commits: some crediting it in the message, count not recorded
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2025), Copyright holder
Releases (7)

Pick two releases to compare their code metrics.

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for osrm.backend version 0.4.1 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy