From 1e4bae1af102c171a19316bca512db4260592645 Mon Sep 17 00:00:00 2001 From: Richard Iannone Date: Wed, 20 Nov 2024 16:35:09 -0500 Subject: [PATCH] Correct spelling mistake in `fmt_icon()` docs --- R/format_data.R | 2 +- man/fmt_icon.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/format_data.R b/R/format_data.R index 778208299..aff2f7878 100644 --- a/R/format_data.R +++ b/R/format_data.R @@ -9170,7 +9170,7 @@ fmt_country <- function( #' a quantity is either higher or lower than another. Up and down arrow symbols #' can serve as good visual indicators for this purpose. We can make use of the #' `"up-arrow"` and `"down-arrow"` icons here. The `fmt_icon()` function has to -#' find those text values in cells to generate the icons, so, lets generate the +#' find those text values in cells to generate the icons, so, let's generate the #' text within a new column with [cols_add()] (an expression is used therein to #' generate the correct text given the `close` and `open` values). Following #' that, `fmt_icon()` is used and its `fill_color` argument is provided with a diff --git a/man/fmt_icon.Rd b/man/fmt_icon.Rd index 084e3594b..0aea4e191 100644 --- a/man/fmt_icon.Rd +++ b/man/fmt_icon.Rd @@ -350,7 +350,7 @@ A fairly common thing to do with icons in tables is to indicate whether a quantity is either higher or lower than another. Up and down arrow symbols can serve as good visual indicators for this purpose. We can make use of the \code{"up-arrow"} and \code{"down-arrow"} icons here. The \code{fmt_icon()} function has to -find those text values in cells to generate the icons, so, lets generate the +find those text values in cells to generate the icons, so, let's generate the text within a new column with \code{\link[=cols_add]{cols_add()}} (an expression is used therein to generate the correct text given the \code{close} and \code{open} values). Following that, \code{fmt_icon()} is used and its \code{fill_color} argument is provided with a