# -*- 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 r-project TH.data 1.1-2
revision            2
maintainers         nomaintainer
license             GPL-3
description         TH Data Archive
long_description    {*}${description}
checksums           rmd160  246cddc37cc9647d2b223ed4749af7641bab4a67 \
                    sha256  47f94eb57b6fcef42efa30824c1356bf10529c4b94b0d0acdb787b434dddde73 \
                    size    8631337
supported_archs     noarch

# We are forced again to introduce tests variants
# to hack around a bug in dependency calculation.
# https://trac.macports.org/ticket/69765
variant tests description "Enable testing" {
    depends_test-append \
                    port:R-ATR \
                    port:R-coin \
                    port:R-colorspace \
                    port:R-gridExtra \
                    port:R-knitr \
                    port:R-multcomp \
                    port:R-rms \
                    port:R-tram \
                    port:R-trtf \
                    port:R-vcd

    test.run        yes
}
