R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) { # nocov start
  prev_options <- options()

  new_options <- list(
    gglgbtq_bg = "white",
    gglgbtq_font_size = 2.5
  )

  unset_inds <- !(names(new_options) %in% names(prev_options))
  if (any(unset_inds)) {
    options(new_options[unset_inds])
  }

  invisible()
} # nocov end

Try the gglgbtq package in your browser

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

gglgbtq documentation built on June 26, 2024, 1:07 a.m.