skip_if_not_travis_or_bioc <- function() {
if (identical(Sys.getenv("TRAVIS"), "true") ||
!identical(Sys.getenv("BBS_HOME"), "")) {
return(invisible(TRUE))
}
skip("Not on Travis or Bioconductor")
}
skip_if_not_in_path <- function(program) {
if (Sys.which(program) == "") {
skip(paste(program, "not in path"))
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.