diff --git a/R/label-date.R b/R/label-date.R index 466b1b25..a6731580 100644 --- a/R/label-date.R +++ b/R/label-date.R @@ -151,7 +151,7 @@ format_dt <- function(x, format, tz = "UTC", locale = NULL) { #' `r lifecycle::badge("superseded")` #' #' These functions are kept for backward compatibility; you should switch -#' to [label_date()/[label_time()] for new code. +#' to [label_date()]/[label_time()] for new code. #' #' @keywords internal #' @export diff --git a/R/label-number.R b/R/label-number.R index a8a335ae..f07809c2 100644 --- a/R/label-number.R +++ b/R/label-number.R @@ -1,6 +1,6 @@ #' Label numbers in decimal format (e.g. 0.12, 1,234) #' -#' Use `label_number()` force decimal display of numbers (i.e. don't use +#' Use `label_number()` to force decimal display of numbers (i.e. don't use #' [scientific][label_scientific] notation). `label_comma()` is a special case #' that inserts a comma every three digits. #' @@ -40,7 +40,7 @@ #' right-justified. #' @param style_negative A string that determines the style of negative numbers: #' -#' * `"hyphen"` (the default): preceded by a standard hypen `-`, e.g. `-1`. +#' * `"hyphen"` (the default): preceded by a standard hyphen `-`, e.g. `-1`. #' * `"minus"`, uses a proper Unicode minus symbol. This is a typographical #' nicety that ensures `-` aligns with the horizontal bar of the #' the horizontal bar of `+`. diff --git a/R/pal-dichromat.R b/R/pal-dichromat.R index ed454a30..38aee521 100644 --- a/R/pal-dichromat.R +++ b/R/pal-dichromat.R @@ -8,7 +8,7 @@ #' show_col(pal_dichromat("BluetoOrange.10")(10)) #' show_col(pal_dichromat("BluetoOrange.10")(5)) #' -#' # Can use with gradient_n to create a continous gradient +#' # Can use with gradient_n to create a continuous gradient #' cols <- pal_dichromat("DarkRedtoBlue.12")(12) #' show_col(pal_gradient_n(cols)(seq(0, 1, length.out = 30))) #' }