# -*- 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 ocbe-uio BayesMallows 2.2.2
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-3
description         Bayesian preference learning with the Mallows rank model
long_description    An implementation of the Bayesian version \
                    of the Mallows rank model.
homepage            https://ocbe-uio.github.io/BayesMallows
checksums           rmd160  b52bfb22055550dd00cfaf36b0cac3406ac9b88a \
                    sha256  90ac24f4a6f5387e0460d43932fb3ffc9382d4f94255dab2ba7a62304931fbc9 \
                    size    4375847

depends_lib-append  port:R-ggplot2 \
                    port:R-igraph \
                    port:R-Rcpp \
                    port:R-RcppArmadillo \
                    port:R-Rdpack \
                    port:R-relations \
                    port:R-rlang \
                    port:R-sets \
                    port:R-testthat

compilers.setup     require_fortran

depends_test-append port:R-covr \
                    port:R-knitr \
                    port:R-label.switching \
                    port:R-rmarkdown

test.run            yes