R/zzz.R

Defines functions .onUnload

### Lastest load into a package.

### Export Namespace does not use .First.lib() and .Last.lib(), but use
### .onLoad() and .onUnload().
# .First.lib <- function(lib, pkg){
# } # End of .First.lib().

# .Last.lib <- function(libpath){
# } # End of .Last.lib().

# .onLoad <- function(libname, pkgname){
#   library.dynam("bayesmove", pkgname, libname)
#   invisible()
# } # End of .onLoad().

.onUnload <- function(libpath){
  library.dynam.unload("bayesmove", libpath)
  invisible()
} # End of .onUnload().

Try the bayesmove package in your browser

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

bayesmove documentation built on Oct. 22, 2021, 9:08 a.m.