tests/testthat/helper-functions.R

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"))
  }
}

Try the MMAPPR2 package in your browser

Any scripts or data that you put into this service are public.

MMAPPR2 documentation built on Nov. 8, 2020, 6:53 p.m.