R/zzz.R

Defines functions .onUnload

## For R 2.15.1 and later this also works. Note that calling loadModule() triggers
## a load action, so this does not have to be placed in .onLoad() or evalqOnLoad().
loadModule("trng", TRUE)

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

Try the rTRNG package in your browser

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

rTRNG documentation built on March 18, 2022, 7:15 p.m.