R/zzz.R

Defines functions .onAttach

.onAttach <- function(lib, pkg)
{
  # unlockBinding(".ga.default", asNamespace("exposure")) 
  version <- read.dcf(file.path(lib, pkg, "DESCRIPTION"), "Version")
  
  if(interactive())
    {
      packageStartupMessage(
" ___   ___   ____      
 \\  \\ /  /  |    \\   foreSIGHT - The Exposure 
  \\     /   |  |> |  Space
   |    |   |  _ /   Generator
  /  /\\  \\  | |
 /__/  \\ _\\ |_| version ", version)
}
else
  { packageStartupMessage("Package 'foreSIGHT' version ", version) } 

  packageStartupMessage("Type 'citation(\"foreSIGHT\")' for citing this R package in publications.")
  invisible()
}
  

Try the foreSIGHT package in your browser

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

foreSIGHT documentation built on Oct. 19, 2023, 9:08 a.m.