R/ascii_art.R

Defines functions ascii_header

Documented in ascii_header

#' print a simple ascii header
#'
#' @param x what to print as title
#'@export
ascii_header <- function(x){
    x <- toupper(x)
    header <- paste(rep("=", nchar(x)), collapse = '')
    cat(header, x, header, '', sep = '\n')
}
lbraglia/lbmisc documentation built on April 29, 2024, 11:27 a.m.