# -*- 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 bogdanpotanin hpa 1.3.3
revision            2
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-3
description         Hermite Polynomial Approximation
long_description    Multivariate conditional and marginal densities, moments, cumulative distribution functions \
                    as well as binary choice and sample selection models based on Hermite polynomial approximation.
checksums           rmd160  693e0a8b3a5047ca92c0a59b85780a93e2b211f0 \
                    sha256  9d98a706230c5bad3aed4ad89b1347f3854075671524d5c5e52108ebb5896bdc \
                    size    117433

# Remove this with the next update. It is a one-time fix.
if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} eq "libc++"} {
    incr revision
}

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

compilers.setup     require_fortran

depends_test-append port:R-GA \
                    port:R-ggplot2 \
                    port:R-mvtnorm \
                    port:R-sampleSelection \
                    port:R-titanic

test.run            yes
