R/zzz.R

Defines functions .onUnload .onLoad

.onLoad <- function(libname, pkgname) {
  warning_once <<- memoise::memoise(warning_once)
}

.onUnload <- function(libpath) {
  gc() # Force garbage collection of connections
  library.dynam.unload("RSQLite", libpath)
}

Try the RSQLite package in your browser

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

RSQLite documentation built on Nov. 5, 2023, 1:10 a.m.