Skip to content

Commit 5418936

Browse files
committed
Fix example for get_elev_profile
Second try!
1 parent 41867be commit 5418936

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/get_elev_profile.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#' nc_line <- suppressWarnings(
1818
#' sf::st_cast(
1919
#' sf::st_union(
20-
#' st_centroid(nc[1, ]),
21-
#' st_centroid(nc[2, ])
20+
#' sf::st_centroid(nc[1, ]),
21+
#' sf::st_centroid(nc[2, ])
2222
#' ),
2323
#' to = "LINESTRING"
2424
#' )

0 commit comments

Comments
 (0)