R/startup.R

Defines functions .onAttach .onLoad print.HostSwitch.startupInfo

print.HostSwitch.startupInfo <- function()
{
  version <- utils::packageVersion('HostSwitch')
  hello <- paste("Welcome to the HostSwitch simulation package, v.",version,
                 '.\n', "For overview type vignette('HostSwitch',
                 package='HostSwitch').\nNote: For an interactive plot,
                 see ?shinyHostSwitch for details." ,sep="")
  packageStartupMessage(hello)
}

.onLoad <- function(...) {

}

.onAttach <- function(...) {
  print.HostSwitch.startupInfo()
}

Try the HostSwitch package in your browser

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

HostSwitch documentation built on March 7, 2023, 8:26 p.m.