Skip to content

Commit 5927cc9

Browse files
committed
add "sf::"
1 parent 68a3599 commit 5927cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/layer-sf.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ scale_type.sfc <- function(x) "identity"
7676

7777
# helper function to determine the geometry type of sf object
7878
sf_geometry_type <- function(sf) {
79-
geometry_type <- unique(as.vector(st_geometry_type(sf)))
79+
geometry_type <- unique(as.vector(sf::st_geometry_type(sf)))
8080
if (length(geometry_type) != 1) geometry_type <- "blend"
8181
geometry_type
8282
}

0 commit comments

Comments
 (0)