R/zzz.R

Defines functions .onUnload

# In a file like zzz.R

.onUnload <- function(libpath) {
  # Clean up any parallel backends if you used them
  stop_cluster()  # Only if you defined this helper
  library.dynam.unload("GBOP2", libpath)
}

#' @useDynLib GBOP2, .registration = TRUE
#' @importFrom Rcpp sourceCpp
NULL

Try the GBOP2 package in your browser

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

GBOP2 documentation built on April 11, 2025, 5:42 p.m.