R/zzz.R

Defines functions .onDetach .onAttach

# © Copyright Caliper Corporation. Licensed under Apache License 2.0.

# Store package-wide variables here rather than the global environment
caliper_env <- new.env(parent = emptyenv())

.onAttach <- function(libname, pkgname) {
  disconnect()
}

.onDetach <- function(libpath) {
  disconnect()
}
dkyleward/caliperR documentation built on Dec. 31, 2021, 7:11 p.m.