R/utils-potools.R

Defines functions tr_

Documented in tr_

#' Flag out what message will be translated using the \pkg{potools} package
#'
#' @param ... A character string. This represents the message to be translated
#'
#' @return The input object
#' @keywords internal
#' @details
#' This function was copied from the `Translation for package developers`
#' vignette of the \pkg{potools} package.
#'
tr_ <- function(...) {
  enc2utf8(gettext(paste0(...), domain = "R-cleanepi"))
}

Try the cleanepi package in your browser

Any scripts or data that you put into this service are public.

cleanepi documentation built on April 4, 2025, 5:12 a.m.