summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-04-23 09:39:44 -0500
committerGitHub <noreply@github.com>2021-04-23 16:39:44 +0200
commitf246f6701a2d2913fe2c23e30324b07cd61fc5f9 (patch)
tree4f58352491e93bd61f455bed431b93ffbd568206
parent675de93b3220dfcf2432212f0c484d8f19cad723 (diff)
downloadspack-f246f6701a2d2913fe2c23e30324b07cd61fc5f9.tar.gz
spack-f246f6701a2d2913fe2c23e30324b07cd61fc5f9.tar.bz2
spack-f246f6701a2d2913fe2c23e30324b07cd61fc5f9.tar.xz
spack-f246f6701a2d2913fe2c23e30324b07cd61fc5f9.zip
r-runjags: new package (#23058)
-rw-r--r--var/spack/repos/builtin/packages/r-runjags/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-runjags/package.py b/var/spack/repos/builtin/packages/r-runjags/package.py
new file mode 100644
index 0000000000..32ace970fb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-runjags/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RRunjags(RPackage):
+ """Interface Utilities, Model Templates, Parallel Computing Methods and
+ Additional Distributions for MCMC Models in JAGS:
+
+ User-friendly interface utilities for MCMC models via Just Another Gibbs
+ Sampler (JAGS), facilitating the use of parallel (or distributed)
+ processors for multiple chains, automated control of convergence and sample
+ length diagnostics, and evaluation of the performance of a model using
+ drop-k validation or against simulated data. Template model specifications
+ can be generated using a standard lme4-style formula interface to assist
+ users less familiar with the BUGS syntax. A JAGS extension module provides
+ additional distributions including the Pareto family of distributions, the
+ DuMouchel prior and the half-Cauchy prior."""
+
+ homepage = "https://github.com/ku-awdc/runjags"
+ cran = "runjags"
+
+ version('2.2.0-2', sha256='e5dfeb83d36faf19ebe64429f6db64aedecf3c9a040fd5bf9c0200914bf5039a')
+
+ depends_on('r@2.14.0:', type=('build', 'run'))
+ depends_on('r-lattice@0.20-10:', type=('build', 'run'))
+ depends_on('r-coda@0.17-1:', type=('build', 'run'))
+ depends_on('jags@4.3.0:')