# -*- 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 lukasz.kidzinski freqdom 2.0.5
revision            1
maintainers         nomaintainer
license             GPL-3
description         Implementation of dynamic principal component analysis (DPCA), \
                    simulation of VAR and VMA processes and frequency domain tools
long_description    {*}${description}
checksums           rmd160  e0f4e58bd313d8e816eeb5ea84b04d0934803870 \
                    sha256  aacf2f911a149f9575acd4449748fc3eef9fe9a9e02e67b5c3ac38096a86463b \
                    size    39433
supported_archs     noarch
platforms           {darwin any}

# FIXME: Tests are there, but running them is broken.
post-extract {
    # This moves testthat.R to its canonical spot, but it is not enough to fix tests in this case.
    move ${worksrcpath}/tests/testthat/testthat.R ${worksrcpath}/tests/testthat.R
}

depends_lib-append  port:R-matrixcalc \
                    port:R-mvtnorm

depends_test-append port:R-fda \
                    port:R-MARSS \
                    port:R-testthat

test.run            no
