Skip to content

Commit

Permalink
R-runMCMCbtadjust: update to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed May 3, 2024
1 parent c3682d4 commit c534af9
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 7 deletions.
27 changes: 27 additions & 0 deletions R/R-nimbleAPT/Portfile
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions R/R-nimbleAPT/files/testthat.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
library(testthat)
library(nimbleHMC)
test_check("nimbleHMC")
33 changes: 26 additions & 7 deletions R/R-runMCMCbtadjust/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit c534af9

Please sign in to comment.