# -*- 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 is outdated.
R.setup             cran fabsig gpboost 1.4.0.1
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             Apache-2
description         Combining tree-boosting with Gaussian process and mixed effects models
long_description    {*}${description}
homepage            https://github.com/fabsig/GPBoost
checksums           rmd160  684104f5083aea982ed18906b0cb243c3565b564 \
                    sha256  851dd5419817e95ff5aa73b8bf50210b6171d329c95a9334e1fabf84af6be8b1 \
                    size    2151426

depends_lib-append  port:R-data.table \
                    port:R-R6 \
                    port:R-RJSONIO

compiler.cxx_standard 2017

depends_test-append port:R-testthat

test.run            yes

# FIXME: linking on Rosetta may fail: https://github.com/fabsig/GPBoost/issues/97
# No problem when building natively on PowerPC.
