R/utils.R

#' @importFrom crayon silver green cyan magenta red bold
NULL

# crayon
cry_code <- silver
cry_done <- green
cry_note <- cyan
cry_warn <- magenta
cry_err <- red

# Adapted from cli::cat_line
cat_line <- function(...) {
  out <- paste0(..., collapse = "\n")
  cat(out, "\n", sep = "", append = TRUE)
}
forestgeo/fgeo.install documentation built on May 9, 2019, 3:39 p.m.