R/zzz.R

Defines functions .onAttach .onLoad

#R
    
.onLoad <- function(lib, pkg){
  if(interactive()){
    .buildOnLoad()
   }
}

#' @importFrom utils packageVersion
.onAttach <- function(lib, pkg){
    if(interactive()){
        ## packagedir <- system.file(package = 'rawrr')
        version <- packageVersion('rawrr')
        thermocopyright <- "RawFileReader reading tool. Copyright \u00A9 2016 by Thermo Fisher Scientific, Inc. All rights reserved."
        packageStartupMessage("Package 'rawrr' version ", version, " using\n", thermocopyright)
        invisible()
    }
}
fgcz/rawR documentation built on Nov. 8, 2024, 1:30 a.m.