R/detect_jags.r

Defines functions detect_jags

# Internal function to detect JAGS installation.
#' @importFrom runjags testjags
#' 
detect_jags <- function(){
        return(suppressWarnings(runjags::testjags(silent = TRUE)$JAGS.found))
}
BiologicalRecordsCentre/sparta documentation built on June 12, 2024, 4:11 a.m.