# -*- 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             cran cran mediation 4.5.0
revision            2
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             {GPL-2 GPL-3}
description         Parametric and non-parametric mediation analysis
long_description    {*}${description}
homepage            https://imai.princeton.edu/projects/mechanisms.html
checksums           rmd160  ef6206f40248b7023e720bc0ae940a1a913473e7 \
                    sha256  210206618787c395a67689be268283df044deec7199d9860ed95218ef1e60845 \
                    size    1345037
supported_archs     noarch
platforms           {darwin any}

depends_lib-append  port:R-Hmisc \
                    port:R-lme4 \
                    port:R-lpSolve \
                    port:R-mvtnorm \
                    port:R-sandwich

depends_test-append port:R-quantreg \
                    port:R-speedglm \
                    port:R-SuppDists \
                    port:R-testthat \
                    port:R-VGAM

test.run            yes
