R/main.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  op <- options()
  op.themeswitcher <- list(
    themeswitcher.light = "textmate (default)",
    themeswitcher.dark = "material"
  )
  toset <- !(names(op.themeswitcher) %in% names(op))
  if(any(toset)) options(op.themeswitcher[toset])
  invisible()
}
bkam235/ThemeSwitcher documentation built on Nov. 21, 2019, 7:06 a.m.