R/zzz.R

## this is the equivalent of .First.lib (for packages with a namespace)
## note that it is general, so the name of the package etc doesn't need
## to be specified (just say whatever you want in the prints though).

.onAttach <-function(lib,pkg)
{
ver <- read.dcf(file.path(lib, pkg, "DESCRIPTION"), "Version")
     ver <- as.character(ver)
curdate <- read.dcf(file.path(lib, pkg, "DESCRIPTION"), "Date")
    curdate <- as.character(curdate)

# Welcome message (MAN):

packageStartupMessage(paste(
"\n",
"*********************************************************************************************\n",
"  CliftLRD: a package for Hurst exponent estimation of irregular complex-valued time series\n\n",
"                      --- Written by Matt Nunes and Marina Knight ---\n",
"                      Current package version: ",ver," (",curdate,") \n\n",
"\n",
"**********************************************************************************************\n","\n")
)

}

Try the CliftLRD package in your browser

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

CliftLRD documentation built on May 1, 2019, 10:29 p.m.