R/trup.R

Defines functions trup

Documented in trup

#' trup
#'
#' Trims and sets to uppercase
#'
#' @param x is a character vector
#'
#' @return an uppercase character vector with leading and trailing spaces removed
#'
#' @examples
#' trup(" foo ")
#'
#' @export

trup <- function(x) {toupper(trim(x))}
familyforestresearchcenter/nwos documentation built on April 12, 2025, 11:54 a.m.