Skip to content

Commit 13c0730

Browse files
authored
minor typos and formatting fixes in documentation (tidyverse#4555)
1 parent acaa98e commit 13c0730

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

R/fortify-map.r

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ fortify.map <- function(model, data, ...) {
3939

4040
#' Create a data frame of map data
4141
#'
42-
#' Easily turn data from the \pkg{maps} package in to a data frame suitable
42+
#' Easily turn data from the \pkg{maps} package into a data frame suitable
4343
#' for plotting with ggplot2.
4444
#'
45-
#' @param map name of map provided by the \pkg{maps} package. These
45+
#' @param map name of map provided by the \pkg{maps} package. These
4646
#' include [maps::county()], [maps::france()],
4747
#' [maps::italy()], [maps::nz()],
4848
#' [maps::state()], [maps::usa()],
4949
#' [maps::world()], [maps::world2()].
50-
#' @param region name of subregions to include. Defaults to `.` which
51-
#' includes all subregion. See documentation for [maps::map()]
50+
#' @param region name(s) of subregion(s) to include. Defaults to `.` which
51+
#' includes all subregions. See documentation for [maps::map()]
5252
#' for more details.
5353
#' @param exact should the `region` be treated as a regular expression
5454
#' (`FALSE`) or as a fixed string (`TRUE`).
@@ -82,8 +82,8 @@ map_data <- function(map, region = ".", exact = FALSE, ...) {
8282

8383
#' Create a layer of map borders
8484
#'
85-
#' This is a quick and dirty way to get map data (from the maps package)
86-
#' on to your plot. This is a good place to start if you need some crude
85+
#' This is a quick and dirty way to get map data (from the \pkg{maps} package)
86+
#' onto your plot. This is a good place to start if you need some crude
8787
#' reference lines, but you'll typically want something more sophisticated
8888
#' for communication graphics.
8989
#'

man/borders.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.

man/map_data.Rd

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

0 commit comments

Comments
 (0)