.onAttach <- function(...) {
if (!interactive()) {
return()
}
msgs <- c(
"Please note that the package is currently in development, and code may break at any time.",
"Please file issues and feature suggestions on the GitHub page (github.com/Ax3man/trackr/issues)",
"To see the user guides use `browseVignettes('trackr')`"
)
msg <- sample(msgs, 1)
packageStartupMessage(paste(strwrap(msg), collapse = "\n"))
}
if (getRversion() >= "2.15.1") {
utils::globalVariables(c(".", 'X', 'Y', 'frame', 'animal', 'trial',
'X1', 'Y1', 'X2', 'Y2', 'orientation1', 'orientation2',
'minor_axis1', 'minor_axis2', 'major_axis1', 'major_axis2',
'n', '.name', 'tracks'))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.