# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           R 1.0

# GitHub version is outdated.
R.setup             cran drizopoulos JMbayes2 0.6-0
revision            1
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             GPL-3+
description         Network meta-analysis using Bayesian methods
long_description    {*}${description}
homepage            https://drizopoulos.github.io/JMbayes2
checksums           rmd160  9fded41bb08e0d1e0a4d9cdaf9114b3781d55184 \
                    sha256  35544aa0c804bd3c62e635c68921630efa26754ce030ca008bead93260430998 \
                    size    332861

depends_lib-append  port:R-abind \
                    port:R-coda \
                    port:R-ggplot2 \
                    port:R-GLMMadaptive \
                    port:R-gridExtra \
                    port:R-matrixStats \
                    port:R-parallelly \
                    port:R-Rcpp \
                    port:R-RcppArmadillo \
                    port:R-survC1

compilers.setup     require_fortran

depends_test-append port:R-knitr \
                    port:R-pkgdown \
                    port:R-rmarkdown

test.run            yes
