R/bobfunctions2.R

Defines functions .onUnload

#------------------------------------------------
# link to Rcpp
#' @useDynLib bobfunctions2, .registration = TRUE
#' @importFrom Rcpp sourceCpp
NULL

#------------------------------------------------
# unload dll when package is unloaded
#' @noRd
.onUnload <- function(libpath) {
  library.dynam.unload("bobfunctions2", libpath)
}
bobverity/bobfunctions2 documentation built on July 4, 2023, 8:55 p.m.