Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upoverline example is broken #272
Comments
|
Thanks for reporting. I think this is likely due to dplyr code under the hood. Any ideas @richardellison (who added the |
|
Update: inside the function call I get this, the root of the problem I think:
|
|
Update: library(sp)
library(stplanr)
s1 = split(routes_fast, f = rep(1:5, length.out = nrow(routes_fast)))
class(s1[[1]])
#> [1] "SpatialLinesDataFrame"
#> attr(,"package")
#> [1] "sp"
s2 = split(routes_fast_sf, f = rep(1:5, length.out = nrow(routes_fast)))
class(s2[[1]])
#> [1] "sf" "data.frame"Created on 2018-10-26 by the reprex package (v0.2.1) |
|
Thanks for pointing that out - shows the danger of not running examples. I've fixed it for now by removing the |
?