Skip to content

Commit 005b68b

Browse files
committed
Correct outdated docs
1 parent e365473 commit 005b68b

File tree

8 files changed

+18
-8
lines changed

8 files changed

+18
-8
lines changed

R/configure_inset.R

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#' Configure transformations underpinning a map inset
22
#'
3-
#' The configuration returned by this function will normally be passed to the
4-
#' coordinate system via [coord_sf_inset()]. Insets can either be circular
5-
#' (if \code{radius} is specified) or rectangular (if \code{hwidth} and
6-
#' optionally \code{hheight} are specified).
3+
#' The configuration returned by this function will often be passed to the
4+
#' coordinate system via [coord_sf_inset()] so that it is propagated to all
5+
#' relevant layers.
76
#'
87
#' The default \code{crs_working} uses the equidistant cylindrical coordinate
98
#' reference system with the latitude of true scale set to match the latitude of

R/inset_shape_circle.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#' An [sf::st_point()] or a vector of longitude and latitude are also accepted.
66
#' If a CRS cannot be determined, WGS 84 is assumed.
77
#' @param radius Radius of the inset circle in the units of the inset's `crs_working`.
8+
#' @returns A shape definition suitable for use with [configure_inset()].
89
#' @family shapes
910
#' @seealso [configure_inset()]
1011
#' @export

R/inset_shape_rectangle.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#' @param hwidth Half width of the inset in the units of the inset's `crs_working`.
88
#' @param hheight Half height of the inset in the units of the inset's `crs_working`.
99
#' Defaults to the same value as `hwidth`.
10+
#' @returns A shape definition suitable for use with [configure_inset()].
1011
#' @family shapes
1112
#' @seealso [configure_inset()]
1213
#' @export

R/inset_shape_sf.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#'
66
#' @param geometry A simple features geometry that is either a polygon or
77
#' multipolygon, and is valid and simple.
8+
#' @returns A shape definition suitable for use with [configure_inset()].
89
#' @family shapes
910
#' @seealso [configure_inset()]
1011
#' @export

man/configure_inset.Rd

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/shape_circle.Rd

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/shape_rectangle.Rd

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/shape_sf.Rd

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)