.onAttach <- function(libname, pkgname) {
exedir=file.path(find.package('RBaM'),'bin')
ok=foundBaM(exedir=exedir,exename='BaM')
if(!ok){
mess=paste0('BaM executable was not found in your RBaM directory: ',exedir)
packageStartupMessage('Welcome to RBaM!')
packageStartupMessage(mess)
packageStartupMessage('Use downloadBaM() to download it now.')
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.