Skip to content

Commit 78a19b6

Browse files
authored
Avoid documenting scale_name with @inheritDotParams discrete_scale (#5763)
1 parent a0205df commit 78a19b6

12 files changed

+6
-18
lines changed

R/scale-discrete-.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#' level, and increasing by one for each level (i.e. the labels are placed
1111
#' at integer positions). This is what allows jittering to work.
1212
#'
13-
#' @inheritDotParams discrete_scale
13+
#' @inheritDotParams discrete_scale -scale_name
1414
#' @inheritParams discrete_scale
1515
#' @rdname scale_discrete
1616
#' @family position scales

R/scale-grey.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#'
66
#' @inheritParams scales::pal_grey
77
#' @inheritParams scale_colour_hue
8-
#' @inheritDotParams discrete_scale -expand -position
8+
#' @inheritDotParams discrete_scale -expand -position -scale_name
99
#' @family colour scales
1010
#' @seealso
1111
#' The documentation on [colour aesthetics][aes_colour_fill_alpha].

R/scale-hue.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#' It does not generate colour-blind safe palettes.
55
#'
66
#' @param na.value Colour to use for missing values
7-
#' @inheritDotParams discrete_scale -aesthetics -expand -position
7+
#' @inheritDotParams discrete_scale -aesthetics -expand -position -scale_name
88
#' @param aesthetics Character string or vector of character strings listing the
99
#' name(s) of the aesthetic(s) that this scale works with. This can be useful, for
1010
#' example, to apply colour settings to the `colour` and `fill` aesthetics at the

R/scale-linetype.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#' no inherent order, this use is not advised.
77
#'
88
#' @inheritParams scale_x_discrete
9-
#' @inheritDotParams discrete_scale -expand -position -na.value
9+
#' @inheritDotParams discrete_scale -expand -position -na.value -scale_name
1010
#' @param na.value The linetype to use for `NA` values.
1111
#' @rdname scale_linetype
1212
#' @seealso

R/scale-manual.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#' of aesthetics provided via the `aesthetics` argument.
1313
#'
1414
#' @inheritParams scale_x_discrete
15-
#' @inheritDotParams discrete_scale -expand -position -aesthetics -palette
15+
#' @inheritDotParams discrete_scale -expand -position -aesthetics -palette -scale_name
1616
#' @param aesthetics Character string or vector of character strings listing the
1717
#' name(s) of the aesthetic(s) that this scale works with. This can be useful, for
1818
#' example, to apply colour settings to the `colour` and `fill` aesthetics at the

R/scale-shape.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#' @param solid Should the shapes be solid, `TRUE`, or hollow,
1111
#' `FALSE`?
1212
#' @inheritParams scale_x_discrete
13-
#' @inheritDotParams discrete_scale -expand -position
13+
#' @inheritDotParams discrete_scale -expand -position -scale_name
1414
#' @rdname scale_shape
1515
#' @seealso
1616
#' The documentation for [differentiation related aesthetics][aes_linetype_size_shape].

man/scale_discrete.Rd

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

man/scale_grey.Rd

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

man/scale_hue.Rd

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

man/scale_linetype.Rd

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

man/scale_manual.Rd

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

man/scale_shape.Rd

Lines changed: 0 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)