diff --git a/R/geom-text.r b/R/geom-text.r index ae49597a6a..8d6dcbf3eb 100644 --- a/R/geom-text.r +++ b/R/geom-text.r @@ -25,9 +25,9 @@ #' #' @eval rd_aesthetics("geom", "text") #' @section `geom_label()`: -#' Currently `geom_label()` does not support the `angle` aesthetic and -#' is considerably slower than `geom_text()`. The `fill` aesthetic -#' controls the background colour of the label. +#' Currently `geom_label()` does not support the `check_overlap` argument +#' or the `angle` aesthetic. Also, it is considerably slower than `geom_text()`. +#' The `fill` aesthetic controls the background colour of the label. #' #' @section Alignment: #' You can modify text alignment with the `vjust` and `hjust` @@ -50,7 +50,8 @@ #' @param check_overlap If `TRUE`, text that overlaps previous text in the #' same layer will not be plotted. `check_overlap` happens at draw time and in #' the order of the data. Therefore data should be arranged by the label -#' column before calling `geom_label()` or `geom_text()`. +#' column before calling `geom_text()`. Note that this argument is not +#' supported by `geom_label()`. #' @export #' @examples #' p <- ggplot(mtcars, aes(wt, mpg, label = rownames(mtcars))) diff --git a/man/geom_text.Rd b/man/geom_text.Rd index e3b4ddf5c1..06ebb387ac 100644 --- a/man/geom_text.Rd +++ b/man/geom_text.Rd @@ -100,7 +100,8 @@ the default plot specification, e.g. \code{\link[=borders]{borders()}}.} \item{check_overlap}{If \code{TRUE}, text that overlaps previous text in the same layer will not be plotted. \code{check_overlap} happens at draw time and in the order of the data. Therefore data should be arranged by the label -column before calling \code{geom_label()} or \code{geom_text()}.} +column before calling \code{geom_text()}. Note that this argument is not +supported by \code{geom_label()}.} } \description{ Text geoms are useful for labeling plots. They can be used by themselves as @@ -150,9 +151,9 @@ Learn more about setting these aesthetics in \code{vignette("ggplot2-specs")}. \section{\code{geom_label()}}{ -Currently \code{geom_label()} does not support the \code{angle} aesthetic and -is considerably slower than \code{geom_text()}. The \code{fill} aesthetic -controls the background colour of the label. +Currently \code{geom_label()} does not support the \code{check_overlap} argument +or the \code{angle} aesthetic. Also, it is considerably slower than \code{geom_text()}. +The \code{fill} aesthetic controls the background colour of the label. } \section{Alignment}{ diff --git a/man/ggsf.Rd b/man/ggsf.Rd index 93c15928c6..4ef02e0bc8 100644 --- a/man/ggsf.Rd +++ b/man/ggsf.Rd @@ -250,7 +250,8 @@ when you really care about the exact locations.} \item{check_overlap}{If \code{TRUE}, text that overlaps previous text in the same layer will not be plotted. \code{check_overlap} happens at draw time and in the order of the data. Therefore data should be arranged by the label -column before calling \code{geom_label()} or \code{geom_text()}.} +column before calling \code{geom_text()}. Note that this argument is not +supported by \code{geom_label()}.} \item{geom}{The geometric object to use display the data} } diff --git a/man/scale_grey.Rd b/man/scale_grey.Rd index 420c809068..a6812aafc7 100644 --- a/man/scale_grey.Rd +++ b/man/scale_grey.Rd @@ -4,6 +4,8 @@ \alias{scale_colour_grey} \alias{scale_fill_grey} \alias{scale_color_grey} +\alias{scale_color_gray} +\alias{scale_fill_gray} \title{Sequential grey colour scales} \usage{ scale_colour_grey(