BiologicalRecordsCentre / BRCindicators

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

Pull requests #85

Closed DylanCarbone closed 4 months ago

DylanCarbone commented 4 months ago

Hi @AugustT,

Please review the GHA for this pull request R CMD check here.

Also, I've realised that the check !requireNamespace("jagsUI", quietly = TRUE)) doesn't actually check for the installation of JAGS. Given the jagsUI package is essential for the functions to work, I've moved jagsUI from the suggests to the imports field of the description.

We should consider removing !requireNamespace("jagsUI", quietly = TRUE)) as I don't think it is necessary to detect a package that can be installed from CRAN. Instead, I've added tests to search directly for the installation of JAGS, using the testjags function from the runjags package.