R/rjags_check.R

Defines functions rjags_check

# Check for rjags

rjags_check <- function() {
  if (!requireNamespace("rjags", quietly = TRUE)) {
    stop("Package \"rjags\" needed for this function to work. Please install it.",
         call. = FALSE)
}}

Try the mrbayes package in your browser

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

mrbayes documentation built on Oct. 2, 2021, 5:08 p.m.