R/zzz.R

Defines functions .onUnload .onLoad

# Package intialization
# (c) 2008-2017 Jens Oehlschägel
# Licence: GPL2
# Provided 'as is', use at your own risk

#' @useDynLib bit, .registration = TRUE, .fixes = "C_"
#' @importFrom utils packageDescription
.onLoad <- function(lib, pkg) {
  bit_init()
}

.onUnload <- function(libpath) {
  bit_done()
  library.dynam.unload("bit", libpath)
}

Try the bit package in your browser

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

bit documentation built on April 4, 2025, 3:09 a.m.