.onAttach <- function(libname, pkgname) {
message <- c("\n Welcome to dySEM!",
"\n \n Please support your academic developers by citing dySEM; this helps us justify to our home institutions the time we spend on expanding and improving dySEM:",
"\n \n Sakaluk, J. K., Fisher, A. N., & Kilshaw, R. K. (2021)\n
Personal Relationships, 28(1), 190-226. \n
https://doi.org/10.1111/pere.12341",
"\n \n dySEM is also heavily dependent on the lavaan package (please cite it too):",
"\n \n Rosseel, Y. (2012). lavaan: An R package for structural equation modeling\n
Journal of Statistical Software, 48, 1-36. \n
https://doi.org/10.18637/jss.v048.i02")
packageStartupMessage(message)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.