R/zzz.R

## covr: skip=all
.onLoad <- function(libname, pkgname) {
  if (.Platform$OS.type == "windows" && .Platform$r_arch != "x64") {
    warning(sprintf("Package %s is supported on this architecture: ", sQuote(pkgname)))
    return()
  }

  requireNamespace("rJava")
  rJava::.jpackage(pkgname, lib.loc=libname)
  initIGV()
}
HenrikBengtsson/Rigvtools documentation built on May 7, 2019, 12:55 a.m.