R/silverblaze.R

Defines functions .onUnload

#------------------------------------------------
#' @title Bayesian Geographic Profiling from Presence-Absence Data
#'
#' @description Bayesian geographic profiling model that allows estimation of
#'   source locations given presence and absence data.
#'
#' @docType package
#' @name silverblaze
NULL

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

#------------------------------------------------
# unload DLL when package is unloaded
#' @noRd
.onUnload <- function(libpath) {
  library.dynam.unload("silverblaze", libpath)  # nocov
}
Michael-Stevens-27/silverblaze documentation built on May 28, 2021, 5:47 p.m.