# -*- 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             github kharchenkolab leidenAlg 1.1.4
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-3
description         R interface to the Leiden algorithm, \
                    an iterative community detection algorithm on networks
long_description    {*}${description}
checksums           rmd160  2df8ce2d99f60c0988e607cf5880bdcfd4c611c9 \
                    sha256  a85764f1239d0e75713b7625728fc97b142fa2f3a384f70841bff9617fbdd0ca \
                    size    1637693
github.tarball_from archive

depends_lib-append  port:glpk \
                    port:libxml2 \
                    port:R-igraph \
                    port:R-Rcpp \
                    port:R-RcppArmadillo \
                    port:R-RcppEigen \
                    port:R-sccore

compilers.setup     require_fortran

depends_test-append port:R-pbapply \
                    port:R-testthat

test.run            yes
