tests/testthat/teardown.R

# Clean up the temporary binary folder after tests complete
test_osrm_path <- file.path(tempdir(), "osrm_bin_test")
if (dir.exists(test_osrm_path)) {
  unlink(test_osrm_path, recursive = TRUE, force = TRUE)
}

Try the osrm.backend package in your browser

Any scripts or data that you put into this service are public.

osrm.backend documentation built on April 26, 2026, 9:06 a.m.