# -*- 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             cran stan-dev rstan 2.32.5
revision            0
categories-append   lang math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-3
description         R interface to Stan
long_description    {*}${description}
homepage            https://mc-stan.org/rstan
checksums           rmd160  85a6fb35ee4ecdf8458c793df43006bda49ec99c \
                    sha256  6a37414cafdce960b1f3fc93298af03c41b645abb153ffab8018660adc2dc554 \
                    size    1133207

depends_lib-append  port:R-BH \
                    port:R-ggplot2 \
                    port:R-gridExtra \
                    port:R-inline \
                    port:R-loo \
                    port:R-pkgbuild \
                    port:R-QuickJSR \
                    port:R-Rcpp \
                    port:R-RcppEigen \
                    port:R-RcppParallel \
                    port:R-StanHeaders

patchfiles          patch-no-v8.diff

depends_test-append port:R-bayesplot \
                    port:R-coda \
                    port:R-knitr \
                    port:R-rmarkdown \
                    port:R-rstantools \
                    port:R-rstudioapi \
                    port:R-shinystan \
                    port:R-testthat

test.run            yes
