R/warn_phyloseq.R

Defines functions warn_phyloseq

Documented in warn_phyloseq

#' Function to throw error if the `phyloseq` package is called but it is not installed
#'
#' @export
warn_phyloseq <- function() {
  stop("You are trying to use a `phyloseq` data object or `phyloseq` helper function without having the `phyloseq` package installed. Please either install the package or use a standard data frame.")
}

Try the corncob package in your browser

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

corncob documentation built on May 29, 2024, 7:15 a.m.