R/onLoad.R

#' Set theme_INBO as default on loading the package
#' @name onLoad
#' @param libname the name of the library
#' @param pkgname the name of the package
#' @importFrom ggplot2 theme_set update_geom_defaults
.onLoad <- function(libname, pkgname){
  theme_set(theme_inbo2015())
  switchColour(new.colour = inbo.steun.geelgroen)
}

Try the INBOtheme package in your browser

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

INBOtheme documentation built on May 2, 2019, 5:25 p.m.