BiologicalRecordsCentre / BRCindicators

An R package for creating indicators from trends data
4 stars 11 forks source link

warn users to install JAGS #83

Closed drnickisaac closed 3 months ago

drnickisaac commented 11 months ago

The documentation doesn't currently warn users to install JAGS before running bma(). Need to figure out where is the best place to do this.

DylanCarbone commented 3 months ago

This has been fixed by incorporating testjags() from the runjags package, which searches common JAGS installation pathways and returns TRUE or FALSE. I've included a check with testjags() within the bma() function.