To estimate the time taken for a cycle trip from Derby to Belper in the UK, we can use the route* functions:

from <- "Derby"
to <- "Belper"
rf <- route_cyclestreet(from, to)
rf@data
rf$time / 60 # estimate the time in minutes
qleafmap(rf)
from <- "Sheffield"
rf <- route_cyclestreet(from, to)
rf@data
rf$time / 60 # estimate the time in minutes
qleafmap(rf)