Running examples in ‘stplanr-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: route
> ### Title: Plan routes on the transport network
> ### Aliases: route
> 
> ### ** Examples
> 
> library(sf)
Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
> l = od_data_lines[2, ]
> r_walk = route(l = l, route_fun = route_osrm, osrm.profile = "foot")
Warning in open.connection(con, "rb") :
  cannot open URL 'https://routing.openstreetmap.de/routed-foot/route/v1/driving/-1.51673370812915,53.8288740914504;-1.5356167992133,53.8284728565164?alternatives=false&geometries=geojson&steps=false&overview=full': HTTP status was '503 Service Unavailable'
Most common output is simpleError
These routes failed: 1
The first of which was:
<simpleError in open.connection(con, "rb"): cannot open the connection to 'https://routing.openstreetmap.de/routed-foot/route/v1/driving/-1.51673370812915,53.8288740914504;-1.5356167992133,53.8284728565164?alternatives=false&geometries=geojson&steps=false&overview=full'>
Returning list
> r_bike = route(l = l, route_fun = route_osrm, osrm.profile = "bike")
Warning in open.connection(con, "rb") :
  cannot open URL 'https://routing.openstreetmap.de/routed-bike/route/v1/driving/-1.51673370812915,53.8288740914504;-1.5356167992133,53.8284728565164?alternatives=false&geometries=geojson&steps=false&overview=full': HTTP status was '503 Service Unavailable'
Most common output is simpleError
These routes failed: 1
The first of which was:
<simpleError in open.connection(con, "rb"): cannot open the connection to 'https://routing.openstreetmap.de/routed-bike/route/v1/driving/-1.51673370812915,53.8288740914504;-1.5356167992133,53.8284728565164?alternatives=false&geometries=geojson&steps=false&overview=full'>
Returning list
> plot(r_walk$geometry)
Warning in min(x) : no non-missing arguments to min; returning Inf
Warning in max(x) : no non-missing arguments to max; returning -Inf
Warning in min(x) : no non-missing arguments to min; returning Inf
Warning in max(x) : no non-missing arguments to max; returning -Inf
Error in plot.window(...) : need finite 'xlim' values
Calls: plot -> plot -> plot.default -> localWindow -> plot.window
Execution halted