Empties the in-memory cache of downloaded OpenStreetMap responses, and the
cache of routing edge indexes that makes repeated ox_route_*() /
ox_shortest_path() calls on the same graph fast. Both caches are rebuilt
transparently on demand; clearing them only frees memory.
References
osmnxr is an R port of OSMnx. If you use it, please cite:
Boeing, G. (2025). Modeling and analyzing urban networks and amenities with OSMnx. Geographical Analysis, 57(4), 567–577. doi:10.1111/gean.70009