# -*- 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 mtsagris regda 1.0
revision            2
categories-append   math
platforms           {darwin any}
maintainers         nomaintainer
license             GPL-2+
description         Regularised Discriminant Analysis
long_description    {*}${description}
checksums           rmd160  193566a1e4be6291d3697147c0df633af7b27580 \
                    sha256  9cb5d9a2f3162c6553b564a6a7fe525eb4a42933e609121c0b347ae4e6bfb17d \
                    size    6130
supported_archs     noarch

# While CRAN is silent on this, the port
# does use R-RcppZiggurat if it is available,
# so this may happen, if dependency is not declared:
# Error in dyn.load(file, DLLpath = DLLpath, ...) : 
# unable to load shared object '/opt/local/Library/Frameworks/R.framework/Versions/4.4/Resources/library/RcppZiggurat/libs/RcppZiggurat.so'
depends_lib-append  port:R-doParallel \
                    port:R-foreach \
                    port:R-RcppZiggurat \
                    port:R-Rfast \
                    port:R-Rfast2

test.run            yes
