R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {

  all_pkg_opts <- list(
    gtexr.verbose = TRUE,
    gtexr.itemsPerPage = 250
  )

  current_options <- options()

  toset <- !(names(all_pkg_opts) %in% names(current_options))

  if(any(toset)) options(all_pkg_opts[toset])

  invisible()
}

Try the gtexr package in your browser

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

gtexr documentation built on June 8, 2025, 10:26 a.m.