# -*- 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 Amelia 1.8.1
revision            2
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             {GPL-2 GPL-3}
description         Program for missing data
long_description    {*}${description}
homepage            https://gking.harvard.edu/amelia
checksums           rmd160  eaeef4da0122ce3691c597d70bd37810632c12d8 \
                    sha256  120ce62a2acfc845dbeb155ce3f33b41ebad324bc73693a918a95194a9fc47e4 \
                    size    1571789

depends_lib-append  port:R-Rcpp \
                    port:R-RcppArmadillo \
                    port:R-rlang

compilers.setup     require_fortran

variant tests description "Enable tests" {
    require_active_variants R tcltk
    depends_test-append \
                    port:R-broom \
                    port:R-knitr \
                    port:R-rmarkdown
    test.run        yes
}
