Skip to content

Commit e31f4d9

Browse files
committed
minor polishes
1 parent ca730a3 commit e31f4d9

File tree

12 files changed

+14
-10
lines changed

12 files changed

+14
-10
lines changed

R/coord-.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#' @details
99
#' Each of the `Coord*` objects is a [ggproto()] object, descended from the
1010
#' top-level `Coord`, and each implements various methods and fields.
11+
#' The object and its parameters are chaperoned by the [Layout] class.
1112
#'
1213
#' To create a new type of Coord object, it is recommended
1314
#' to extend not the base `Coord` class, but one of its children like

R/facet-.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ NULL
1313
#' Extending facets can range from the simple modifications of current facets,
1414
#' to very laborious rewrites with a lot of [gtable()] manipulation.
1515
#' For some examples of both, please see the extension vignette.
16+
#' The object and its parameters are chaperoned by the [Layout] class.
1617
#'
1718
#' `Facet` subclasses, like other extendible ggproto classes, have a range
1819
#' of methods that can be modified. Some of these are required for all new

R/geom-.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ NULL
1212
#' @details
1313
#' Each of the `Geom*` objects is a [ggproto()] object, descended
1414
#' from the top-level `Geom`, and each implements various methods and
15-
#' fields.
15+
#' fields. The object and its parameters are chaperoned by the [Layer] class.
1616
#'
1717
#' Compared to `Stat` and `Position`, `Geom` is a little
1818
#' different because the execution of the setup and compute functions is

R/layer.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ validate_mapping <- function(mapping, call = caller_env()) {
226226
#'
227227
#' @description
228228
#' The Layer class is a chaperone class not available for extension. The class
229-
#' fullfills the following tasks. The class houses the Geom, Stat and Position
229+
#' fulfils the following tasks. The class houses the Geom, Stat and Position
230230
#' trinity and tracks their stateful parameters. Furthermore, its methods are
231231
#' responsible for managing the layer data and exposing it to other components
232232
#' of the plot at the right time.
@@ -238,7 +238,7 @@ validate_mapping <- function(mapping, call = caller_env()) {
238238
#' populated.
239239
#'
240240
#' The class is mostly used in `ggplot_build()`, with the notable exception
241-
#' of the `draw_geom()` method.
241+
#' of the `draw_geom()` method, which is used in `ggplot_gtable()` instead.
242242
#'
243243
#' @section Layer data diagram:
244244
#'

R/position-.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#' The way that the `position_*` functions work is slightly different from
1010
#' the `geom_*` and `stat_*` functions, because a `position_*`
1111
#' function actually "instantiates" the `Position*` object by creating a
12-
#' descendant, and returns that.
12+
#' descendant, and returns that. The object is chaperoned by the [Layer] class.
1313
#'
1414
#' To create a new type of Position object, you typically will want to override
1515
#' one or more of the following:

R/stat-.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#' @details
99
#' Each of the `Stat*` objects is a [ggproto()] object, descended
1010
#' from the top-level `Stat`, and each implements various methods and
11-
#' fields.
11+
#' fields. The object and its parameters are chaperoned by the [Layer] class.
1212
#'
1313
#' To create a new type of Stat object, you typically will want to
1414
#' override one or more of the following:

man/Coord.Rd

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

man/Facet.Rd

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

man/Geom.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/Layer-class.Rd

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

0 commit comments

Comments
 (0)