* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘rjags’ ...
** this is package ‘rjags’ version ‘4-18’
** package ‘rjags’ successfully unpacked and MD5 sums checked
** using staged installation
checking for pkg-config... /usr/bin/pkg-config
configure: error: pkg-config found JAGS 5.0.1 but rjags requires JAGS 4.x.y
ERROR: configuration failed for package ‘rjags’
* removing ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/rjags’