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/rawrr documentation built on Dec. 8, 2024, 2:10 a.m.