From 9294dacf6302cac169c5b9719656166fac15bb31 Mon Sep 17 00:00:00 2001 From: olivroy Date: Tue, 11 Jul 2023 12:47:39 -0400 Subject: [PATCH] Comment `fmt_txt()` parameter definition. --- R/utils.R | 9 ++++----- man/fmt_txt.Rd | 2 -- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/R/utils.R b/R/utils.R index 653cb1a8e..fa2391f16 100644 --- a/R/utils.R +++ b/R/utils.R @@ -172,9 +172,8 @@ random_string <- function(n = 1, length = 16, pattern = "[A-Za-z0-9]", keep_seed return(res) } # dims helpers ----------------------------------------------------------------- -#' @title Helper functions to work with `dims` +#' Helper functions to work with `dims` #' -#' @description #' Internal helpers to (de)construct a dims argument from/to a row and column #' vector. Exported for user convenience. #' @@ -352,7 +351,7 @@ un_list <- function(x) { #' | 238 | "EASTEUROPE_CHARSET" | #' | 255 | "OEM_CHARSET" | #' -#' @param x a string or part of a string +# #' @param x a string or part of a string #' @param bold bold #' @param italic italic #' @param underline underline @@ -472,7 +471,7 @@ fmt_txt <- function( #' @rdname fmt_txt #' @method as.character fmt_txt -#' @param x an openxlsx2 fmt_txt string +# #' @param x an openxlsx2 fmt_txt string #' @param ... unused #' @examples #' as.character(fmt_txt(2)) @@ -483,7 +482,7 @@ as.character.fmt_txt <- function(x, ...) { #' @rdname fmt_txt #' @method print fmt_txt -#' @param x an openxlsx2 fmt_txt string +# #' @param x an openxlsx2 fmt_txt string #' @param ... additional arguments for default print #' @export print.fmt_txt <- function(x, ...) { diff --git a/man/fmt_txt.Rd b/man/fmt_txt.Rd index 5279b7c90..3ccae5b18 100644 --- a/man/fmt_txt.Rd +++ b/man/fmt_txt.Rd @@ -51,8 +51,6 @@ fmt_txt( \item{vertAlign}{baseline, superscript, or subscript} \item{...}{additional arguments for default print} - -\item{x}{an openxlsx2 fmt_txt string} } \description{ format strings independent of the cell style.