# -*- 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 samuel-watson glmmrOptim 0.3.6
revision            2
categories-append   math
maintainers         nomaintainer
license             GPL-2+
description         Approximate optimal experimental designs \
                    using generalised linear mixed models
long_description    {*}${description}
homepage            https://github.com/samuel-watson/glmmrOptim
checksums           rmd160  f7633d731f65ade80ad2e875ff10dbf602d9d7f6 \
                    sha256  d2a5cc8909e47002920e38ffe0f42a151eb9642fedfd6c7af53058cde9283aad \
                    size    35846

depends_lib-append  port:R-BH \
                    port:R-digest \
                    port:R-glmmrBase \
                    port:R-Rcpp \
                    port:R-RcppEigen \
                    port:R-RcppProgress \
                    port:R-rminqa \
                    port:R-SparseChol

compilers.setup     require_fortran

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

# There are no specific tests yet.
# https://github.com/samuel-watson/glmmrOptim/issues/15
test.run            yes
