# -*- 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

# Revert to GitHub once updated there.
R.setup             cran gertvv gemtc 1.0-2
revision            1
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-3
description         Network meta-analysis using Bayesian methods
long_description    {*}${description}
checksums           rmd160  e7d710f22eb0ae7632d36998d368a1742214a0b2 \
                    sha256  14a4efc62c7784712d7c26a1efca112fde942104dfa4876753458f7688d14a07 \
                    size    890219

# Needed only for GitHub version:
# worksrcdir          ${worksrcpath}/gemtc

depends_lib-append  port:R-coda \
                    port:R-forcats \
                    port:R-igraph \
                    port:R-meta \
                    port:R-plyr \
                    port:R-Rglpk \
                    port:R-rjags \
                    port:R-truncnorm

depends_test-append port:R-testthat

test.run            yes