Skip to content

Commit af99012

Browse files
committed
structure indicators
1 parent 3b54805 commit af99012

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

R/all-classes.R

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class_scales_list <- S7::new_S3_class("ScalesList")
2323

2424
# User facing classes -----------------------------------------------------
2525

26+
## Theme -------------------------------------------------------------------
27+
2628
#' The theme class
2729
#'
2830
#' The theme class holds information on how non-data elements of the plot
@@ -51,6 +53,8 @@ class_theme <- S7::new_class(
5153
}
5254
)
5355

56+
## Labels ------------------------------------------------------------------
57+
5458
#' The labels class
5559
#'
5660
#' The labels class holds a list with label information to display as titles
@@ -59,6 +63,10 @@ class_theme <- S7::new_class(
5963
#'
6064
#' @param labels A named list.
6165
#'
66+
#' @details
67+
#' All members of `labels` are expected to be named and unique.
68+
#'
69+
#'
6270
#' @keywords internal
6371
#' @export
6472
class_labels <- S7::new_class(
@@ -80,6 +88,8 @@ class_labels <- S7::new_class(
8088
}
8189
)
8290

91+
## Mapping -----------------------------------------------------------------
92+
8393
#' The mapping class
8494
#'
8595
#' The mapping class holds a list of quoted expressions
@@ -102,6 +112,8 @@ class_mapping <- S7::new_class(
102112
}
103113
)
104114

115+
## ggplot ------------------------------------------------------------------
116+
105117
#' The ggplot class
106118
#'
107119
#' The ggplot class collects the needed information to render a plot.
@@ -165,6 +177,8 @@ class_ggplot <- S7::new_class(
165177
}
166178
)
167179

180+
## Built ggplot ------------------------------------------------------------
181+
168182
#' The ggplot built class
169183
#'
170184
#' The ggplot built class is an intermediate class and represents a processed

man/class_labels.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)