# -*- 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

# GitHub version is outdated.
R.setup             cran valentint tclust 2.0-5
revision            0
categories-append   math
maintainers         nomaintainer
license             GPL-3
description         Robust Trimmed Clustering
long_description    {*}${description}
homepage            https://github.com/valentint/tclust
checksums           rmd160  ad023ebe6a40c09c04964d6afe5f817275c6df4d \
                    sha256  17c81d2f54ba52a299eadac028e2bac56fcbdb10bedfa10a4ca6167ff156a8bf \
                    size    1062337

depends_lib-append  port:R-doParallel \
                    port:R-ellipsis \
                    port:R-foreach \
                    port:R-Rcpp \
                    port:R-RcppArmadillo

compilers.setup     require_fortran

depends_test-append port:R-mclust \
                    port:R-mvtnorm \
                    port:R-sn

test.run            yes
