# NOT RUN {
if (interactive()) {
library(r5r)
# build transport network
path <- system.file("extdata/poa", package = "r5r")
r5r_core <- setup_r5(data_path = path, temp_dir = TRUE)
# extract street network from r5r_core
street_net <- street_network_to_sf(r5r_core)
stop_r5(r5r_core)
}
# }
Run the code above in your browser using DataLab