Skip to content

Commit 98f04aa

Browse files
authored
Fix typos part III (#5313)
* Fix typos * Lingering fix
1 parent 14a6b29 commit 98f04aa

28 files changed

+32
-32
lines changed

R/coord-cartesian-.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#' # limits. You can set the limits precisely by setting expand = FALSE
4444
#' p + coord_cartesian(xlim = c(325, 500), expand = FALSE)
4545
#'
46-
#' # Simiarly, we can use expand = FALSE to turn off expansion with the
46+
#' # Similarly, we can use expand = FALSE to turn off expansion with the
4747
#' # default limits
4848
#' p + coord_cartesian(expand = FALSE)
4949
#'

R/geom-tile.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#'
1616
#' @details
1717
#' `geom_rect()` and `geom_tile()`'s respond differently to scale
18-
#' transformations due to their parametrisation. In `geom_rect()`, the scale
18+
#' transformations due to their parameterisation. In `geom_rect()`, the scale
1919
#' transformation is applied to the corners of the rectangles. In `geom_tile()`,
2020
#' the transformation is applied only to the centres and its size is determined
2121
#' after transformation.

R/guide-.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#' Guide constructor
22
#'
3-
#' A constructor function for guides, which performs some standard compatability
3+
#' A constructor function for guides, which performs some standard compatibility
44
#' checks between the guide and provided arguments.
55
#'
66
#' @param ... Named arguments that match the parameters of `super$params` or

R/guide-colorsteps.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#' shown irrespective of the value of `show.limits`.
1414
#' @param ticks A theme object for rendering tick marks at the colourbar.
1515
#' Usually, the object of `element_line()` is expected. If `element_blank()`
16-
#' (default), no tick marks are drawn. For backward compatability, can also
16+
#' (default), no tick marks are drawn. For backward compatibility, can also
1717
#' be a logical which translates `TRUE` to `element_line()` and `FALSE` to
1818
#' `element_blank()`.
1919
#' @inheritDotParams guide_colourbar -nbin -raster -ticks -available_aes

R/layer.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
#' @param params Additional parameters to the `geom` and `stat`.
5050
#' @param key_glyph A legend key drawing function or a string providing the
5151
#' function name minus the `draw_key_` prefix. See [draw_key] for details.
52-
#' @param layer_class The type of layer object to be constructued. This is
52+
#' @param layer_class The type of layer object to be constructed. This is
5353
#' intended for ggplot2 internal use only.
5454
#' @keywords internal
5555
#' @examples

R/position-dodge.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#' be specified in the global or `geom_*` layer. Unlike `position_dodge()`,
66
#' `position_dodge2()` works without a grouping variable in a layer.
77
#' `position_dodge2()` works with bars and rectangles, but is
8-
#' particulary useful for arranging box plots, which
8+
#' particularly useful for arranging box plots, which
99
#' can have variable widths.
1010
#'
1111
#' @param width Dodging width, when different to the width of the individual

R/scale-.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ binned_scale <- function(aesthetics, scale_name, palette, name = waiver(),
375375
#' - `dimension()` For continuous scales, the dimension is the same concept as the limits.
376376
#' For discrete scales, `dimension()` returns a continuous range, where the limits
377377
#' would be placed at integer positions. `dimension()` optionally expands
378-
#' this range given an expantion of length 4 (see [expansion()]).
378+
#' this range given an expansion of length 4 (see [expansion()]).
379379
#'
380380
#' - `break_info()` Returns a `list()` with calculated values needed for the `Coord`
381381
#' to transform values in transformed data space. Axis and grid guides also use

R/scale-brewer.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
#' theme_dark()
7070
#' }
7171
#'
72-
#' # Use distiller variant with continous data
72+
#' # Use distiller variant with continuous data
7373
#' v <- ggplot(faithfuld) +
7474
#' geom_tile(aes(waiting, eruptions, fill = density))
7575
#' v

R/scale-colour.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#' palette) are not suitable to support all viewers, especially those with
4545
#' color vision deficiencies. Using `viridis` type, which is perceptually
4646
#' uniform in both colour and black-and-white display is an easy option to
47-
#' ensure good perceptive properties of your visulizations.
47+
#' ensure good perceptive properties of your visualizations.
4848
#' The colorspace package offers functionalities
4949
#' - to generate color palettes with good perceptive properties,
5050
#' - to analyse a given color palette, like emulating color blindness,

R/scale-manual.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#' palette) are not suitable to support all viewers, especially those with
4141
#' color vision deficiencies. Using `viridis` type, which is perceptually
4242
#' uniform in both colour and black-and-white display is an easy option to
43-
#' ensure good perceptive properties of your visulizations.
43+
#' ensure good perceptive properties of your visualizations.
4444
#' The colorspace package offers functionalities
4545
#' - to generate color palettes with good perceptive properties,
4646
#' - to analyse a given color palette, like emulating color blindness,

0 commit comments

Comments
 (0)