R/zzz.R

Defines functions .onAttach .onUnload

#' @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 = "")
  )
}

.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 May 2, 2019, 4:18 a.m.