.onAttach <- function(libname, pkgname){
version <- utils::packageVersion("snpR")
packageStartupMessage("snpR version: ", version, " loaded.\n", .console_hline(), "\n")
if(grepl("\\.9[0-9]{3}$", version)){
packageStartupMessage("This is a development build of snpR.\nWhile this version is (probably) passing all tests, there may still be bugs present.\nPlease report any issues to the github issues page (https://github.com/hemstrow/snpR/issues)!\n\n\n")
packageStartupMessage("Check out the NEWS page on github for update notes (https://github.com/hemstrow/snpR/blob/dev/NEWS.md)\n", .console_hline(), "\n")
}
else{
packageStartupMessage("Please report any issues to the github issues page (https://github.com/hemstrow/snpR/issues)!\n\n\n")
packageStartupMessage("Check out the NEWS page on github for update notes (https://github.com/hemstrow/snpR/blob/master/NEWS.md)\n", .console_hline(), "\n")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.