Skip to content

Comments

Updates for JAGS 5.0.0#80

Open
martynplummer wants to merge 1 commit intoFBartos:masterfrom
rjags-rdepends:master
Open

Updates for JAGS 5.0.0#80
martynplummer wants to merge 1 commit intoFBartos:masterfrom
rjags-rdepends:master

Conversation

@martynplummer
Copy link

With the forthcoming release of JAGS 5.0.0 I am testing CRAN packages to see if they work with the new version. Since RoBMA uses the C++ API it needs to be patched to work with JAGS 5.0.0

The main changes to the JAGS API are:

  • Use unsigned long instead of unsigned int for object sizes
  • Redundant method typicalValue is removed from distributions (It was not implemented in RoBMA)
  • Redundant argument length is removed from VectorDist and ArrayDist (It was never dereferenced in any method in RoBMA). Similarly for VectorFunction and ArrayFunction.

Changes make the patched version dependent on JAGS 5.0.0 and above.

You have a quick CRAN test that captures the output from some short MCMC runs. This test is fragile as we cannot guarantee reproducibility at this level between versions. If you want to keep the test then you will need to recapture new output using JAGS 5.0.0. However, I recommend that you wait until the release as other changes may take place as I work through other CRAN packages.

@FBartos
Copy link
Owner

FBartos commented Jan 19, 2026

Hi Martyn,

Thanks a lot for the update and fixes (also for the other packages). I'm looking forward to see JAGS 5.0 released and I will update the package on CRAN accordingly then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants