R/utils.R

Defines functions .pkg_check

.pkg_check <- function(package) {
  if (!requireNamespace(package, quietly = TRUE)) {
    stop("Please install package ", package, " to use this function.")
  }
}
pachterlab/museumst documentation built on April 20, 2024, 11:26 p.m.