Skip to content

Commit 00ce5ec

Browse files
committed
propagate name change
1 parent fca2061 commit 00ce5ec

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

R/annotation-borders.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#' data(us.cities)
3232
#' capitals <- subset(us.cities, capital == 2)
3333
#' ggplot(capitals, aes(long, lat)) +
34-
#' borders("state") +
34+
#' annotation_borders("state") +
3535
#' geom_point(aes(size = pop)) +
3636
#' scale_size_area() +
3737
#' coord_quickmap()
@@ -40,7 +40,7 @@
4040
#' if (require("maps")) {
4141
#' # Same map, with some world context
4242
#' ggplot(capitals, aes(long, lat)) +
43-
#' borders("world", xlim = c(-130, -60), ylim = c(20, 50)) +
43+
#' annotation_borders("world", xlim = c(-130, -60), ylim = c(20, 50)) +
4444
#' geom_point(aes(size = pop)) +
4545
#' scale_size_area() +
4646
#' coord_quickmap()

R/fortify-map.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#' plotted with ggplot2.
88
#'
99
#' @export
10-
#' @seealso [map_data()] and [borders()]
10+
#' @seealso [map_data()] and [annotation_borders()]
1111
#' @param model map object
1212
#' @param data not used by this method
1313
#' @param ... not used by this method

R/geom-segment.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#' ggplot(seals, aes(long, lat)) +
4343
#' geom_segment(aes(xend = long + delta_long, yend = lat + delta_lat),
4444
#' arrow = arrow(length = unit(0.1,"cm"))) +
45-
#' borders("state")
45+
#' annotation_borders("state")
4646
#' }
4747
#'
4848
#' # Use lineend and linejoin to change the style of the segments

R/layer.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
#' @param inherit.aes If `FALSE`, overrides the default aesthetics,
6565
#' rather than combining with them. This is most useful for helper functions
6666
#' that define both data and aesthetics and shouldn't inherit behaviour from
67-
#' the default plot specification, e.g. [borders()].
67+
#' the default plot specification, e.g. [annotation_borders()].
6868
#' @param check.aes,check.param If `TRUE`, the default, will check that
6969
#' supplied parameters and aesthetics are understood by the `geom` or
7070
#' `stat`. Use `FALSE` to suppress the checks.

0 commit comments

Comments
 (0)