Skip to content

Commit 9e9b49b

Browse files
authored
Fix typos in geom_text dcumentation (tidyverse#5205)
* Fix typos in geom_text documentation * generate .Rd documents to reflect edits
1 parent 77bab75 commit 9e9b49b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

R/geom-text.r

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#' Useful for offsetting text from points, particularly on discrete scales.
4646
#' Cannot be jointly specified with `position`.
4747
#' @param position Position adjustment, either as a string, or the result of
48-
#' a call to a position adjustment function. Cannot be jointy specified with
48+
#' a call to a position adjustment function. Cannot be jointly specified with
4949
#' `nudge_x` or `nudge_y`.
5050
#' @param check_overlap If `TRUE`, text that overlaps previous text in the
5151
#' same layer will not be plotted. `check_overlap` happens at draw time and in
@@ -126,7 +126,7 @@
126126
#' ggplot(data = df, aes(x, y, group = grp)) +
127127
#' geom_col(aes(fill = grp), position = "dodge") +
128128
#' geom_text(aes(label = y), position = position_dodge(0.9))
129-
#' # Use you can't nudge and dodge text, so instead adjust the y position
129+
#' # You can't nudge and dodge text, so instead adjust the y position
130130
#' ggplot(data = df, aes(x, y, group = grp)) +
131131
#' geom_col(aes(fill = grp), position = "dodge") +
132132
#' geom_text(

man/geom_text.Rd

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

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