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

# Revert to GitHub once updated there.
R.setup             cran JCatwood VeccTMVN 1.3.2 v
revision            1
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             GPL-2+
description         Multivariate normal probabilities using Vecchia approximation
long_description    {*}${description}
checksums           rmd160  c7b5cc301efd925ecbbbe0c9bb200afbba3d3f51 \
                    sha256  f2d494aaf79bd2343ddba0b4775f2987aacb85ab521ff0f55c362e07d5ffbef2 \
                    size    39463
# github.tarball_from archive

depends_lib-append  port:R-GpGp \
                    port:R-GPvecchia \
                    port:R-nleqslv \
                    port:R-Rcpp \
                    port:R-RcppArmadillo \
                    port:R-TruncatedNormal \
                    port:R-truncnorm

compilers.setup     require_fortran

depends_test-append port:R-lhs \
                    port:R-mvtnorm \
                    port:R-testthat

test.run            yes
