# -*- 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 google bsynth 1.0
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-3+
description         Bayesian Synthetic Control
long_description    ${name} implements the ${description} method \
                    for causal inference in comparative case studies.
homepage            https://github.com/google/bsynth
checksums           rmd160  43b8f0ea7c073b9236fed62f78684764040f8287 \
                    sha256  f97ca0703dc310eb1d5275b021bcc894f490f5acf7f520b865a4cc79534af8c1 \
                    size    290039

depends_lib-append  port:R-BH \
                    port:R-cubelyr \
                    port:R-dplyr \
                    port:R-ggplot2 \
                    port:R-glue \
                    port:R-magrittr \
                    port:R-purrr \
                    port:R-R6 \
                    port:R-Rcpp \
                    port:R-RcppEigen \
                    port:R-RcppParallel \
                    port:R-rlang \
                    port:R-rstan \
                    port:R-rstantools \
                    port:R-scales \
                    port:R-StanHeaders \
                    port:R-tibble \
                    port:R-tidyr \
                    port:R-vizdraws

depends_test-append port:R-gsynth \
                    port:R-knitr \
                    port:R-rmarkdown \
                    port:R-roxygen2 \
                    port:R-testthat

test.run            yes
