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 or the mapboxapi, 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?