| osrm_check_latest_version | R Documentation |
Queries the GitHub API to find the most recent stable (non-pre-release) version tag for the OSRM backend that has binaries available for the current platform.
osrm_check_latest_version()
A string containing the latest version tag (e.g., "v26.4.1").
if (identical(Sys.getenv("OSRM_EXAMPLES"), "true")) {
# Get the latest stable version number of OSRM backend
osrm_check_latest_version()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.