Skip to content

Commit

Permalink
Comment fmt_txt() parameter definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Jul 11, 2023
1 parent 16ba234 commit 9294dac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 4 additions & 5 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#'
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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))
Expand All @@ -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, ...) {
Expand Down
2 changes: 0 additions & 2 deletions man/fmt_txt.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9294dac

Please sign in to comment.