R/cat.R

#' @rdname quietR-outputs
#' @export
cat <- function(...) {
  if (is_verbose("cat"))
    base::cat(...)
  else
    invisible()
}

#' @rdname verbosity
#' @export
enable_cat <- function() {
  enable_verbose("cat")
}

#' @rdname verbosity
#' @export
disable_cat <- function() {
  disable_verbose("cat")
}

Try the quietR package in your browser

Any scripts or data that you put into this service are public.

quietR documentation built on June 17, 2019, 5:05 p.m.