# -*- 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.5
revision            1
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             GPL-3
description         R interface to the Leiden algorithm, \
                    an iterative community detection algorithm on networks
long_description    {*}${description}
checksums           rmd160  64559f143a31606ead3868fbc6d8fd86cae50622 \
                    sha256  1a0e54f6dbcaebe6a854c64383b5f3061595a709b41cbe4ec8f6216b8693a060 \
                    size    1638140
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
