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 Oct. 20, 2018, 5:05 p.m.