R/onAttach.R

Defines functions .onAttach

#' @importFrom utils packageVersion
.onAttach = function( libname, pkgname ) {
  # Runs when attached to search() path such as by library() or require()
  if ( interactive() ) {
    packageStartupMessage( 'Welcome to msmtools v', as.character( packageVersion( "msmtools" ) ),
                           '! An easy way to build augmented longitudinal datasets to be used with msm' )
    packageStartupMessage( 'If you find a bug, please report it at https://github.com/contefranz/msmtools/issues' )
  }
}

Try the msmtools package in your browser

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

msmtools documentation built on April 13, 2021, 1:06 a.m.