File: setup.R

package info (click to toggle)
r-cran-cowplot 1.1.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,564 kB
  • sloc: sh: 13; makefile: 5
file content (13 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
# *************************************************
#                     Setup
# *************************************************

.onAttach <- function(libname, pkgname) {
  # switch the default theme to theme_cowplot
  # ggplot2::theme_set(theme_cowplot())
  #packageStartupMessage("\n********************************************************")
  #packageStartupMessage("Note: As of version 1.0.0, cowplot does not change the")
  #packageStartupMessage("  default ggplot2 theme anymore. To recover the previous")
  #packageStartupMessage("  behavior, execute:\n  theme_set(theme_cowplot())")
  #packageStartupMessage("********************************************************\n")
}