R/zzz.R

Defines functions chainladderWelcomeMessage onAttach

.onAttach <- function(lib, pkg,...){
  packageStartupMessage(chainladderWelcomeMessage())
}


chainladderWelcomeMessage <- function(){

  paste("\nWelcome to ChainLadder version ", packageDescription("ChainLadder")$Version,
        "\n\n",
        "Type vignette('ChainLadder', package='ChainLadder') to access\n",
        "the overall package documentation.\n\n",
        "See demo(package='ChainLadder') for a list of demos.\n\n",
        "More information is available on the ChainLadder project web-site:\n",
        "https://github.com/mages/ChainLadder\n\n",
        "To suppress this message use:\n",
        "suppressPackageStartupMessages(library(ChainLadder))\n",       
        sep='')
 }
edalmoro/ChainLadderQuantileV1 documentation built on Oct. 1, 2018, 12:23 a.m.