R/dev_setup.r

# TODO import individual functions and not entire library when not necessary
# in particular: beware of using data.table and dplyr together.

#' @useDynLib treestruct, .registration = TRUE
#' @importFrom Rcpp sourceCpp evalCpp
#' @importFrom magrittr "%>%"
#' @importFrom dplyr group_by summarize mutate pull
#' @importFrom foreach "%dopar%"
#' @importFrom stats sd

.onUnload <- function (libpath) {
    library.dynam.unload("treestruct", libpath)
}
ashenkin/treestruct documentation built on Oct. 14, 2021, 1:54 a.m.