Nothing
#' @importFrom utils packageVersion packageDescription
.onAttach <- function(libname, pkgname) {
if (!interactive()) {
return()
}
base::packageStartupMessage(
" <\")))>< The goldfish package in R\n\n",
pkgname, ": version ", utils::packageVersion("goldfish"), " ",
dQuote("Butterfly Tail"), " created on ",
utils::packageDescription("goldfish", fields = "Date"), "\n"
)
# packageStartupMessage(
# "Please cite as:\nChristoph Stadtfeld and James Hollway (2018). \"goldfish:
# Statistical network models for dynamic network data\". R package version ",
# packageVersion("goldfish"),
# ", www.social-networks.ethz.ch/research/goldfish.html.\n")
}
# Whenever you use C++ code in your package, you need to clean up
# after yourself when your package is unloaded.
# Do this by writing a .onUnload() function that unloads the DLL:
# (http://r-pkgs.had.co.nz/src.html)
.onUnload <- function(libpath) {
library.dynam.unload("goldfish", libpath)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.