R package to query and check JAGS model code