R/zzz.R

Defines functions .onLoad

# This file contains package startup hooks and small namespace-level setup
# Used for registrations that must run when shinyOAuth loads

# 1 Package startup ------------------------------------------------------------

## 1.1 Namespace setup ---------------------------------------------------------

utils::globalVariables(c("input", "private", "public"))

#' Package load hook
#'
#' Registers S7 methods and runs package startup hooks when shinyOAuth loads.
#' Used automatically by R package loading.
#'
#' @param ... Package load arguments supplied by R.
#' @return No meaningful return value; this function is called for its side
#'   effects.
#' @keywords internal
#' @noRd
.onLoad <- function(...) {
  S7::methods_register()
  rlang::run_on_load()
}

rlang::on_load(rlang::local_use_cli(format = TRUE, inline = TRUE))

Try the shinyOAuth package in your browser

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

shinyOAuth documentation built on May 23, 2026, 9:06 a.m.