# -*- 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 NorskRegnesentral shapr 1.0.7 v
revision            0
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             MIT
description         Prediction explanation with dependence-aware Shapley values
long_description    {*}${description}.
homepage            https://norskregnesentral.github.io/shapr
checksums           rmd160  88c1e832cc37faa937d18c09b71647b2dc549622 \
                    sha256  194e5f8dc4e9c0a0f6282a249d7c5691b70afacdb5e217648e508dec463a7eb9 \
                    size    3503772

depends_lib-append  port:R-cli \
                    port:R-data.table \
                    port:R-future.apply \
                    port:R-Rcpp \
                    port:R-RcppArmadillo \
                    port:R-rlang

compilers.setup     require_fortran

# Some optional deps are dropped.
depends_test-append port:R-coro \
                    port:R-dials \
                    port:R-forecast \
                    port:R-future \
                    port:R-gbm \
                    port:R-GGally \
                    port:R-ggbeeswarm \
                    port:R-ggplot2 \
                    port:R-hardhat \
                    port:R-knitr \
                    port:R-parsnip \
                    port:R-party \
                    port:R-partykit \
                    port:R-progressr \
                    port:R-ranger \
                    port:R-recipes \
                    port:R-rmarkdown \
                    port:R-roxygen2 \
                    port:R-rsample \
                    port:R-testthat \
                    port:R-tune \
                    port:R-vdiffr \
                    port:R-waldo \
                    port:R-workflows \
                    port:R-xgboost \
                    port:R-yardstick

test.run            yes
