R/zzz.R

Defines functions .onAttach

.onAttach <- function(...) {
  try({
    if (!interactive()) packageStartupMessage('setting CB::theme_bw() to ggplot default via ggplot2::set_theme()')
    ggplot2::theme_set(CB::theme_cb())
  }, silent = TRUE)
}
cole-brokamp/CB documentation built on May 13, 2019, 8:49 p.m.