diff --git a/R/R-nimbleAPT/Portfile b/R/R-nimbleAPT/Portfile new file mode 100644 index 0000000000000..5e9b4e6e60766 --- /dev/null +++ b/R/R-nimbleAPT/Portfile @@ -0,0 +1,27 @@ +# -*- 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 old. +R.setup cran DRJP nimbleAPT 1.0.6 +revision 0 +categories-append math +maintainers {@barracuda156 gmail.com:vital.had} openmaintainer +license BSD +description Adaptive parallel tempering for R-nimble +long_description Functions for adaptive parallel tempering (APT) \ + with NIMBLE models. +homepage https://github.com/DRJP/nimbleAPT +checksums rmd160 670ee4ba0c3d58922a95e920a031c8bbb21f6700 \ + sha256 268a37201294acc30af912dee8ec4ea7f1ade3d021bfb31d1ee366db8a0b5b9f \ + size 211428 +supported_archs noarch + +depends_lib-append port:R-nimble + +depends_test-append port:R-coda \ + port:R-knitr \ + port:R-rmarkdown + +test.run yes diff --git a/R/R-nimbleAPT/files/testthat.R b/R/R-nimbleAPT/files/testthat.R new file mode 100644 index 0000000000000..1a29efcc38b58 --- /dev/null +++ b/R/R-nimbleAPT/files/testthat.R @@ -0,0 +1,3 @@ +library(testthat) +library(nimbleHMC) +test_check("nimbleHMC") diff --git a/R/R-runMCMCbtadjust/Portfile b/R/R-runMCMCbtadjust/Portfile index 726e19b704d06..da553ca0504ca 100644 --- a/R/R-runMCMCbtadjust/Portfile +++ b/R/R-runMCMCbtadjust/Portfile @@ -3,16 +3,35 @@ PortSystem 1.0 PortGroup R 1.0 -R.setup cran frederic.gosselin runMCMCbtadjust 1.0.5 -revision 1 +R.setup cran frederic.gosselin runMCMCbtadjust 1.1.0 +revision 0 categories-append math maintainers nomaintainer -license CECILL-2.1 -description Function runMCMC_btadjust() to use with JAGS, R-nimble etc. +license CeCILL-2.1 +description Function runMCMC_btadjust() to use with JAGS, \ + R-nimble etc. long_description {*}${description} -checksums rmd160 bd4949947a215fee606f4c3a8b0f917b43ff2ef1 \ - sha256 a0d1036ccc5098718b277a16b9883c566f1d8b13903884affb450548c021c151 \ - size 50796 +checksums rmd160 47ea0d78efd5dfb0eaace1dd5da3d5788f331d74 \ + sha256 c7ad9a2b5b1cd5b96cbf208ac0f0270bb2ddca50b00a3f448fadba42f61d8661 \ + size 77586 supported_archs noarch depends_lib-append port:R-coda + +variant tests description "Enable testing" { + # Some optional deps are omitted. + depends_test-append \ + port:R-ggmcmc \ + port:R-Hmisc \ + port:R-knitr \ + port:R-markdown \ + port:R-nimble \ + port:R-nimbleAPT \ + port:R-R6 \ + port:R-rjags \ + port:R-rstan \ + port:R-runjags \ + port:R-testthat + + test.run yes +}