R/caps.R

#' Make Text All Caps or No Caps
#'
#' Make Text All Caps or No Caps.
#'
#' @param x text string
#' @param upper whether string should be upper or lower
#' @export

caps <- function(x, upper=TRUE){
  casefold(x, upper = upper)
}
steventsimpson/kleentex documentation built on May 30, 2019, 4:48 p.m.