tests/testthat/test-overline.R

context("Test overline function")

test_that(
  desc = "overline generates a SpatialLinesDataFrame",
  code = {
    rnet <- overline(sl = routes_fast[2:4,], attrib = "length")
    expect_is(object = rnet, class = "SpatialLinesDataFrame")
  })

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.