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(cat(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 Sept. 27, 2021, 9:06 a.m.