R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  # .auth is created in R/drive_auth.R
  # this is to insure we get an instance of gargle's AuthState using the
  # current, locally installed version of gargle

  utils::assignInMyNamespace(
    ".auth",
    gargle::init_AuthState(
      package = "ladder",
      auth_active = TRUE
    )
  )
}

Try the ladder package in your browser

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

ladder documentation built on June 8, 2025, 11:29 a.m.