Skip to content

Commit 528cdd5

Browse files
committed
chore: fix multiple typos
1 parent 6bdb503 commit 528cdd5

27 files changed

Lines changed: 33 additions & 33 deletions

R/mf_arrow.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#' two coordinates in map units (c(x, y))
77
#' @param col arrow color
88
#' @param cex arrow size
9-
#' @param adj adjust the postion of the north arrow in x and y directions
9+
#' @param adj adjust the position of the north arrow in x and y directions
1010
#' @param align object of class `sf` or `sfc` used to adjust the
1111
#' arrow to the real north
1212
#' @importFrom sf st_crs st_as_sf st_coordinates st_transform

R/mf_doc_utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ my_params <- function(x) {
8888
cex = "cex size of the legend; 2 means two times bigger",
8989
cexs = "cex cex (point size) for symbols",
9090
pch = "pch pch (point type) for symbols",
91-
leg_adj = "leg_adj adjust the postion of the legend in x and y directions",
91+
leg_adj = "leg_adj adjust the position of the legend in x and y directions",
9292
leg_horiz = paste0(
9393
"leg_horiz display the legend horizontally ",
9494
"(for proportional symbols and choropleth types)"

R/mf_export.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#' @param x object of class \code{sf}, \code{sfc} or \code{SpatRaster}
1616
#' @param expandBB fractional values to expand the bounding box with, in each
1717
#' direction (bottom, left, top, right)
18-
#' @param filename path to the exported file. If the file extention is ".png" a
18+
#' @param filename path to the exported file. If the file extension is ".png" a
1919
#' png graphic device is opened, if the file extension is ".svg" a svg graphic
2020
#' device is opened.
2121
#' @param width width of the figure (pixels for png, inches for svg)

R/mf_get_breaks.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#' ## Natural breaks method
2929
#' The "jenks", "fisher" and "ckmeans" methods are based on the same concept of
3030
#' **natural breaks** and and produce similar groupings. The use of "ckmeans" is
31-
#' recommanded.
31+
#' recommended.
3232
#'
3333
#' * The "jenks" method produces class boundaries falling on data points and is
3434
#' slow.

R/mf_legend.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
#' @param cex_na size of the symbols for missing values
6060
#' @param pch_na type of the symbols for missing values
6161
#' @param horiz if TRUE plot an horizontal legend
62-
#' @param adj adjust the postion of the legend in x and y directions
62+
#' @param adj adjust the position of the legend in x and y directions
6363
#' @param frame_border border color of the frame
6464
#' @return No value is returned, a legend is displayed
6565
#' (except if `return_bbox` is used).

R/mf_logo.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#' legend position by clicking on the map.
1111
#' @param cex amount by which the logo width should be magnified
1212
#' or reduced relative to the default
13-
#' @param adj adjust the postion of the logo in x and y directions
13+
#' @param adj adjust the position of the logo in x and y directions
1414
#'
1515
#' @return No return value, a background image is displayed.
1616
#' @export

R/mf_map.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@
8888
#' @param leg_frame_border border color of the legend frame
8989
#' @param leg_horiz display the legend horizontally (for proportional symbols
9090
#' and choropleth types)
91-
#' @param leg_adj adjust the postion of the legend in x and y directions
91+
#' @param leg_adj adjust the position of the legend in x and y directions
9292
#' @param leg_bg color of the legend background
9393
#' @param leg_fg color of the legend foreground
9494
#' @param leg_size size of the legend. Combine this argument with
9595
#' `leg_title_cex` and `leg_val_cex`.
9696
#' @param leg_box_border border color of legend boxes (for types related to
97-
#' choropleth and typologie)
97+
#' choropleth and typology)
9898
#' @param leg_box_cex width and height size expansion of boxes
9999
#' @param ... ignored
100100
#'

R/mf_raster.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#' type = "classes" only).
2121
#' @param pal a set of colors (hex codes) or a palette name. Palette names can
2222
#' be obtained with [hcl.pals]. The default palette is the pal_quali palette for
23-
#' type = "classes" and pal_seq otherwiser (see [mf_get_theme_value]).
23+
#' type = "classes" and pal_seq otherwise (see [mf_get_theme_value]).
2424
#' @param alpha pal` opacity, in the range \[0,1\] (0 means
2525
#' transparent and 1 means opaque). Default is set to 1.
2626
#' @param rev if `pal` is a palette name, whether the ordering of the colors
@@ -43,13 +43,13 @@
4343
#' @param leg_frame_border border color of the legend frame
4444
#' @param leg_horiz display the legend horizontally (for proportional symbols
4545
#' and choropleth types)
46-
#' @param leg_adj adjust the postion of the legend in x and y directions
46+
#' @param leg_adj adjust the position of the legend in x and y directions
4747
#' @param leg_bg color of the legend background
4848
#' @param leg_fg color of the legend foreground
4949
#' @param leg_size size of the legend. Combine this argument with
5050
#' `leg_title_cex` and `leg_val_cex`.
5151
#' @param leg_box_border border color of legend boxes (for types related to
52-
#' choropleth and typologie)
52+
#' choropleth and typology)
5353
#' @param leg_box_cex width and height size expansion of boxes
5454
#' @param ... bgalpha, smooth, maxcell or other arguments passed to be
5555
#' passed to [terra::plotRGB] or [terra::plot]

R/mf_scale.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#' Possible values are "m" and "ft" (see Details).
1313
#' @param scale_units units used for the scale bar. Can be "mi" for miles,
1414
#' "ft" for feet, "m" for meters, or "km" for kilometers (default).
15-
#' @param adj adjust the postion of the scale bar in x and y directions
15+
#' @param adj adjust the position of the scale bar in x and y directions
1616
#' @param x object of class crs, sf or sfc. If set, the CRS of x will be used
1717
#' instead of `crs_units` to define CRS units.
1818
#' @details Most CRS use the meter as unit. Some US CRS use feet or US survey

R/mf_theme.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#' @param background background color
3636
#' @param highlight highlight color
3737
#' @param pal_quali default qualitative color palette (name or function)
38-
#' @param pal_seq default sequential color palettte (name or function)
38+
#' @param pal_seq default sequential color palette (name or function)
3939
#' @param ... deprecated arguments ('bg', 'fg', 'tab', 'pos', 'inner',
4040
#' 'line', 'cex' and 'font'). See the Note section.
4141
#' @param frame either "none", "map" or "figure"; plot a frame around the map

0 commit comments

Comments
 (0)