I am interested in comparing isochrone maps based on different road closure scenarios. I have some polygon layers that I would use to "remove" closed roads (e.g. due to flooding). I am aware of some network analysis packages in R such as [OSRM][1] or the [mapboxapi][2], but there seems to be no clear way to edit the networks these packages pull from their APIs. Is there a viable way to generate traffic isochrones in R, but with the capacity to edit / exlcude roads from the network? Any advice on workflow or alternative packages is welcome [1]: https://rdrr.io/cran/osrm/ [2]: https://walker-data.com/mapboxapi/