Skip to content

Fixes for JAGS 5.0.0 - #6

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

martynplummer wants to merge 1 commit into
FBartos:masterfrom
rjags-rdepends:master

Conversation

@martynplummer

Copy link
Copy Markdown

With the forthcoming release of JAGS 5.0.0 I am testing CRAN packages to see if they work with the new version. Since RoBSA 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 RoBSA)
  • Redundant argument length is removed from VectorDist and ArrayDist (It was never dereferenced in any method in RobSA). 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.

This branch has not been deployed

No deployments
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.

1 participant