Changelog
Source:NEWS.md
osrm.backend 0.3.0
CRAN release: 2026-04-19
New features
- Added
osrm_gui(), an interactive Shiny web application for exploring and visualizing the loaded OSRM routing network. It comes with auto-centering logic to reliably detect the source OSM PBF file or retrieve the extent from the server registry or server object for auto extent.
Improvements
Improved
osrm_servers()with a custom S3 print method for better interactive readability and a newoutputargument to return raw metadata as a list.Simplified server IDs in the registry to
osrm-{port}-{pid}format for better readability and programmatic access.OSRM servers and running OSRM servers registry maintained by the package pre-save the extent info for
osrm_gui()to use it for auto-centering.Added a helpful hint to
osrm_start()error messages when a graph is detected to be incompatible with the currently installed OSRM version.Validated and added official support for OSRM
v26.4.0andv26.4.1releases, ensuring the necessary runtime libraries (TBB and BZip2) are correctly fetched and patched across all supported platforms (macOS, Windows, and Linux).Weekly live tests to check for potential regressions, successful OSRM binaries installation and possible issues when new versions of OSRM backend binaries.
osrm.backend 0.2.0
CRAN release: 2026-02-06
Breaking Changes
The
osrm.server.log_fileoption no longer accepts a list for separate stdout/stderr files. This feature has been removed due to potential deadlock issues. Use a single character path instead:options(osrm.server.log_file = "path/to/logfile.log"). If a list is provided, it will silently fall back to the default temporary file behavior.Default logging behavior changed:
osrm_start_server()now writes logs to a temporary file by default instead of using pipes. This prevents deadlocks in R’s single-threaded environment while preserving logs for debugging. Useverbose = TRUEto see output in the console.