Skip to content

Commit

Permalink
fit to CRAN lwgeom
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Jan 16, 2024
1 parent 2a89741 commit 7472a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/geom-measures.R
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ st_perimeter = function(x, ...) {
if (!requireNamespace("lwgeom", quietly = TRUE))
stop("package lwgeom required, please install it first")
# note that units are handled appropriately by lwgeom
lwgeom::st_perimeter_lwgeom(x)
lwgeom::st_perimeter(x)
}
}

Expand Down

0 comments on commit 7472a21

Please sign in to comment.