R/startup.utilities.R
statnetStartupMessage.RdThis function uses information returned by packageDescription()
to construct a standard package startup message according to the
policy of the Statnet Project.
A string containing the startup message, to be passed to the
packageStartupMessage() call or NULL, if policy
prescribes printing default startup message. (Thus, if
statnetStartupMessage() returns NULL, the calling package should
not call packageStartupMessage() at all.)
Earlier versions of this function printed a more expansive message. This may change again as the Statnet Project policy evolves.
if (FALSE) { # \dontrun{
.onAttach <- function(lib, pkg){
sm <- statnetStartupMessage("ergm")
if(!is.null(sm)) packageStartupMessage(sm)
}
} # }