tests/benchmarks/test-error-handling-line2route.R

devtools::install_github("nikolai-b/stplanr", ref = "add_error_handelling")
r = line2route(flowlines, reporterror = TRUE)
r$error # shows error

# now switch off internet partway (manually)
r = line2route(flowlines, reporterror = TRUE)

r2 = stplanr:::line2routeRetry(flowlines, silent = F)

Try the stplanr package in your browser

Any scripts or data that you put into this service are public.

stplanr documentation built on June 3, 2018, 1:04 a.m.