# -*- 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 ExGaussEstim 0.1.2
revision            1
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2
description         Quantile maximization likelihood estimation and Bayesian ex-Gaussian estimation
long_description    {*}${description}
checksums           rmd160  08433f0aed4be88ed8c3b9265a3ed1a1a9e4b608 \
                    sha256  6ec3760d540f3a2439ea626fa351fa3478c1b8824bdd7ab362952e9c1849181c \
                    size    6233
supported_archs     noarch
platforms           {darwin any}

# Test run is broken due to a missing testthat.R.
post-extract {
    copy ${filespath}/testthat.R ${worksrcpath}/tests/
}

depends_lib-append  port:R-dlm \
                    port:R-fitdistrplus \
                    port:R-gamlss.dist \
                    port:R-invgamma \
                    port:R-nloptr \
                    port:R-pracma

depends_test-append port:R-testthat

test.run            yes
