R/zzz.R

Defines functions .onUnload .onAttach

#' @useDynLib fmrs

.onAttach <- function(lib, pkg) {
    fmrsversion <- utils::packageVersion("fmrs")
    fmrsdate <- utils::packageDescription("fmrs")$Date
    fmrsdescrip <- utils::packageDescription("fmrs")$Description
    fmrsBugReports <- utils::packageDescription("fmrs")$BugReports
    #packageStartupMessage(paste("fmrs package, Version ", fmrsversion, ", Released ", fmrsdate, "\n", fmrsdescrip, "\nBugReports: ", fmrsBugReports, sep = ""))
    packageStartupMessage(paste("BugReports: ", fmrsBugReports, sep = ""))
}

.onUnload <- function(libpath) library.dynam.unload("fmrs", libpath)

Try the fmrs package in your browser

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

fmrs documentation built on Nov. 8, 2020, 5:50 p.m.