R/style.R

Defines functions cat_line bullet done

#' @importFrom clisymbols symbol
#' @importFrom crayon green
done <- function(...) {
  bullet(paste0(...), bullet = green(symbol$tick))
}


bullet <- function(lines, bullet) {
  lines <- paste0(bullet, " ", lines)
  cat_line(lines)
}

cat_line <- function(...) {
  cat(..., "\n", sep = "")
}
IMMM-SFA/teleconnect documentation built on Oct. 22, 2021, 2 p.m.