# -*- 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.7
revision            1
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} 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  fcee3109195e097b21bb1a54521e531defaa2753 \
                    sha256  5326caa890d5502982430c510b48b94b52a3cb89c2602fcfccf7b2f47991782b \
                    size    4384127

depends_lib-append  port:R-ggplot2 \
                    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
