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.
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.