[R-gregmisc-users] SF.net SVN: r-gregmisc:[1483] trunk/gregmisc/R/First.R
Brought to you by:
warnes
From: <wa...@us...> - 2011-08-26 23:28:23
|
Revision: 1483 http://r-gregmisc.svn.sourceforge.net/r-gregmisc/?rev=1483&view=rev Author: warnes Date: 2011-08-26 23:28:17 +0000 (Fri, 26 Aug 2011) Log Message: ----------- Use packageStartupMessage() instead of warning() to display a startup message on package load. Modified Paths: -------------- trunk/gregmisc/R/First.R Modified: trunk/gregmisc/R/First.R =================================================================== --- trunk/gregmisc/R/First.R 2011-08-26 20:48:15 UTC (rev 1482) +++ trunk/gregmisc/R/First.R 2011-08-26 23:28:17 UTC (rev 1483) @@ -2,13 +2,10 @@ .First.lib <- function(libname, pkgname) { - library(gdata) - library(gplots) - library(gmodels) - library(gtools) - warning(paste("", - "The `gregmisc' *package* has converted into a *bundle*", - "containing four sub-packages: gdata, gtools, gmodels, and gplots.", - "Please load these packages directly.", sep="\n\t"), - call.=FALSE) + packageStartupMessage( + "All functionality of the `gregmisc' package has been moved", + "into the four 'g' packages: gdata, gtools, gmodels, and gplots. ", + "This package is retained to make it easy to install and load", + "the set. Please consider loading these packages directly." + ) } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |