## Non-exported function to gracefully fail when external dependencies are missing.
available.external <- function(what){
chr <- NULL
try(chr <- system(str_c(what, '--help'), intern = TRUE), silent = TRUE)
if(is.null(chr)){
stop(paste("vsearch was not found,please executable command:", what))
return(FALSE)
} else {
return(TRUE)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.