R/onload.R

Defines functions .onLoad

#' Set-up for galah during loading
#' @noRd
#' @keywords Internal
#' @importFrom potions brew
.onLoad <- function(libname, pkgname) {
    if (pkgname == "galah") {
      brew(.pkg = "galah")
      galah_config() # to cache defaults
      options(list(
       "check_internal_cache" = galah_internal_cached))
    }
}

Try the galah package in your browser

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

galah documentation built on Nov. 20, 2023, 9:07 a.m.