Skip to content

Commit 65e2f9e

Browse files
committed
allow CRAN ggtern to work with geom_sf()
1 parent eb29392 commit 65e2f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/sf.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ default_aesthetics <- function(type) {
199199
}
200200
}
201201

202-
sf_grob <- function(row, lineend, linejoin, linemitre) {
202+
sf_grob <- function(row, lineend = "butt", linejoin = "round", linemitre = 10) {
203203
# Need to extract geometry out of corresponding list column
204204
geometry <- row$geometry[[1]]
205205

0 commit comments

Comments
 (0)