# 2020-01-01 CJS Now using TMB for optimization
#
#' Message to display when package is loaded
#'
#' @importFrom utils packageVersion
#' @keywords internal
#'
.onAttach <- function(libname,pkgname){
packageStartupMessage("***** SPAS: Stratified Petersen Analysis System - Version ", utils::packageVersion("SPAS"), " ***** \n\n",
" Help available with help(package='SPAS') \n",
' Several vignettes are available. See browseVignettes(package="SPAS") \n\n')
}
# SEE http://r-pkgs.had.co.nz/src.html on why you need the following
.onUnload <- function (libpath) {
library.dynam.unload("SPAS", libpath)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.