# -*- 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 r-project spatialprobit 1.0.4
revision            1
categories-append   economics
maintainers         nomaintainer
license             GPL-2+
description         Bayesian estimation of spatial Probit and Tobit models
long_description    {*}${description}
checksums           rmd160  742f058d2676a7f3d1f3038b914d335171688fc1 \
                    sha256  a4e273fb2313ca16a858670ff4659a5982b8874905cdd5fbf7c77563c624ab6a \
                    size    91016
supported_archs     noarch
platforms           {darwin any}

depends_lib-append  port:R-mvtnorm \
                    port:R-spatialreg \
                    port:R-spdep \
                    port:R-tmvtnorm

depends_test-append port:R-RUnit \
                    port:R-testthat

# Due to an exotic placement of test files, you can only run them from R interface upon installation.
test.run            yes