R/zzz.R

Defines functions .onUnload .onLoad

.onLoad <- function(...) {
  .surveyjR <- new.env(parent = emptyenv())
  attach(.surveyjR)
}


.onUnload <- function(...) {
  detach(".surveyjR")
}
dheimgartner/surveyjR documentation built on Feb. 5, 2022, 8:11 a.m.