Search the entire project
This project's trackers
This project's forums
This project's news
R-Forge Site Admin
[#6491] Can packages depend on JAGS?
Vincent Carey (
Philipp Pausakerl (ppause)
Can packages depend on JAGS?
JAGS is distributed at
and is a SystemRequirement of the CRAN package rjags. I am finding that a package with this SystemRequirement will not build, e.g.:
* installing *source* package 'barca' ...
** preparing package for lazy loading
Error : .onLoad failed in loadNamespace() for 'rjags', details:
call: fun(libname, pkgname)
error: Failed to locate any version of JAGS version 4
The rjags package is just an interface to the JAGS library
Make sure you have installed JAGS-4.x.y.exe (for any x >=0, y>=0) from
Error : package 'rjags' could not be loaded
ERROR: lazy loading failed for package 'barca'
* removing 'R:/run/building/build_2017-02-14-19-23/RF_PKG_CHECK/PKGS/barca.Rcheck/barca'
Date: 2017-02-15 14:42
thank you for pointing this out.
JAGS 4 was indeed missing and has just been added on our building machines.
Please trigger a rebuild and let me know in case it still didn't work.