# -*- 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 lags behind.
R.setup             cran thomvolker densityratio 0.2.2 v
revision            1
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             GPL-3+
description         Distribution comparison through density ratio estimation
long_description    {*}${description}
homepage            https://thomvolker.github.io/densityratio
checksums           rmd160  abe699c75a30a3c1f4579d7b8bfcb40bdf6c5cd6 \
                    sha256  165e1d418b1c2a502aa06473654566892ef1eb3add00e5b9dfc054328f625953 \
                    size    1367785

depends_lib-append  port:R-ggh4x \
                    port:R-ggplot2 \
                    port:R-osqp \
                    port:R-pbapply \
                    port:R-Rcpp \
                    port:R-RcppArmadillo \
                    port:R-RcppProgress

compilers.setup     require_fortran

depends_test-append port:R-knitr \
                    port:R-rmarkdown \
                    port:R-testthat

test.run            yes
