Skip to content

Commit cef6def

Browse files
committed
document
1 parent 93d5395 commit cef6def

File tree

5 files changed

+20
-24
lines changed

5 files changed

+20
-24
lines changed

R/position-nudge.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#' @family position adjustments
99
#' @param x,y Amount of vertical and horizontal distance to move.
1010
#' @export
11+
#' @eval rd_aesthetics("position", "nudge")
1112
#' @examples
1213
#' df <- data.frame(
1314
#' x = c(1,3,2,5),

R/utilities-help.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
rd_aesthetics <- function(type, name, extra_note = NULL) {
44
obj <- switch(type,
55
geom = check_subclass(name, "Geom", env = globalenv()),
6-
stat = check_subclass(name, "Stat", env = globalenv())
6+
stat = check_subclass(name, "Stat", env = globalenv()),
7+
position = check_subclass(name, "Position", env = globalenv())
78
)
89
aes <- rd_aesthetics_item(obj)
910

man/geom_text.Rd

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

man/ggsf.Rd

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

man/position_nudge.Rd

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

0 commit comments

Comments
 (0)