Skip to content

Commit fca2061

Browse files
committed
rename borders() -> annotation_borders()
1 parent bca5ab0 commit fca2061

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/annotation-borders.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
#' scale_size_area() +
4646
#' coord_quickmap()
4747
#' }
48-
borders <- function(database = "world", regions = ".", fill = NA,
49-
colour = "grey50", xlim = NULL, ylim = NULL, ...) {
48+
annotation_borders <- function(database = "world", regions = ".", fill = NA,
49+
colour = "grey50", xlim = NULL, ylim = NULL, ...) {
5050
df <- map_data(database, regions, xlim = xlim, ylim = ylim)
5151
geom_polygon(aes(.data$long, .data$lat, group = .data$group), data = df,
5252
fill = fill, colour = colour, ..., inherit.aes = FALSE)

0 commit comments

Comments
 (0)