R/utilities.R

Defines functions message_wrap

# Copied from ggplot2:
# https://github.com/tidyverse/ggplot2/blob/master/R/utilities.r
message_wrap <- function(...) {
  msg <- paste(..., collapse = "", sep = "")
  wrapped <- strwrap(msg, width = getOption("width") - 2)
  message(paste0(wrapped, collapse = "\n"))
}

utils::globalVariables(c("type", "column"))

Try the moderndive package in your browser

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

moderndive documentation built on Sept. 11, 2024, 9:26 p.m.