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

R.setup             github stephenslab mashr 0.2.79
revision            2
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             BSD
description         Multivariate Adaptive Shrinkage
long_description    {*}${description}
checksums           rmd160  ebe9d589f7538b04519242acde6a19d1e68edf34 \
                    sha256  2be5247963c0da9f983e2cb702b8458bf62a85f574f178eb2e527209f6dc69ed \
                    size    5613373

# Dependents of R-RcppGSL link directly to gsl:
# https://github.com/eddelbuettel/rcppziggurat/issues/21
depends_lib-append  port:gsl \
                    port:R-abind \
                    port:R-ashr \
                    port:R-assertthat \
                    port:R-mvtnorm \
                    port:R-plyr \
                    port:R-Rcpp \
                    port:R-RcppArmadillo \
                    port:R-RcppGSL \
                    port:R-rmeta \
                    port:R-softImpute

compilers.setup     require_fortran

depends_test-append port:R-corrplot \
                    port:R-ebnm \
                    port:R-flashier \
                    port:R-kableExtra \
                    port:R-knitr \
                    port:R-rmarkdown \
                    port:R-profmem \
                    port:R-REBayes \
                    port:R-testthat

test.run            yes
