# -*- 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

# Revert to GitHub once updated there.
R.setup             cran integrated-inferences CausalQueries 1.4.5 v
revision            0
categories-append   economics math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             MIT
description         Make, update and query binary causal models
long_description    {*}${description}
homepage            https://integrated-inferences.github.io/CausalQueries
checksums           rmd160  75110ad7f334fddbbd0531d1bad902382433aa44 \
                    sha256  830123bb6da38f2d32e1f483e38a627f5d932215f0531a8ae41e3ddbed2d657d \
                    size    488021
# github.tarball_from archive

depends_lib-append  port:R-BH \
                    port:R-dirmult \
                    port:R-dplyr \
                    port:R-ggplot2 \
                    port:R-ggraph \
                    port:R-knitr \
                    port:R-latex2exp \
                    port:R-lifecycle \
                    port:R-Rcpp \
                    port:R-RcppArmadillo \
                    port:R-RcppEigen \
                    port:R-rlang \
                    port:R-rstan \
                    port:R-rstantools \
                    port:R-StanHeaders \
                    port:R-stringr

depends_test-append port:R-bayesplot \
                    port:R-covr \
                    port:R-curl \
                    port:R-DeclareDesign \
                    port:R-estimatr \
                    port:R-fabricatr \
                    port:R-rmarkdown \
                    port:R-testthat

test.run            yes
# https://github.com/integrated-inferences/CausalQueries/issues/358
# https://github.com/integrated-inferences/CausalQueries/issues/359
test.args-append    --ignore-vignettes
