R/opensimplex2-package.R

Defines functions .onUnload

#' @keywords internal
"_PACKAGE"

## usethis namespace: start
#' @useDynLib opensimplex2, .registration = TRUE
## usethis namespace: end
NULL

.onUnload <- function(libpath) {
  ## Unload the dynamic binding (particularly useful on Windows)
  library.dynam.unload("opensimplex2", libpath)
}

Try the opensimplex2 package in your browser

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

opensimplex2 documentation built on March 29, 2026, 5:08 p.m.