summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-11-01 03:39:04 +0100
committerGitHub <noreply@github.com>2021-10-31 21:39:04 -0500
commitf363864f7f6ad9da45cb3053816d500838821a27 (patch)
treeaad632213fb9e6deb73992ce6c9bdc0122fb7ed8
parent543e5480a19b9f72b1eae439086d8c92f6ccb9c9 (diff)
downloadspack-f363864f7f6ad9da45cb3053816d500838821a27.tar.gz
spack-f363864f7f6ad9da45cb3053816d500838821a27.tar.bz2
spack-f363864f7f6ad9da45cb3053816d500838821a27.tar.xz
spack-f363864f7f6ad9da45cb3053816d500838821a27.zip
r-posterior: add new package (#27093)
-rw-r--r--var/spack/repos/builtin/packages/r-posterior/package.py36
1 files changed, 36 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-posterior/package.py b/var/spack/repos/builtin/packages/r-posterior/package.py
new file mode 100644
index 0000000000..a992d9d05c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-posterior/package.py
@@ -0,0 +1,36 @@
+# 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 RPosterior(RPackage):
+ """Tools for Working with Posterior Distributions.
+
+ Provides useful tools for both users and developers of packages for
+ fitting Bayesian models or working with output from Bayesian models. The
+ primary goals of the package are to: (a) Efficiently convert between many
+ different useful formats of draws (samples) from posterior or prior
+ distributions. (b) Provide consistent methods for operations commonly
+ performed on draws, for example, subsetting, binding, or mutating draws.
+ (c) Provide various summaries of draws in convenient formats. (d) Provide
+ lightweight implementations of state of the art posterior inference
+ diagnostics. References: Vehtari et al. (2021) <doi:10.1214/20-BA1221>."""
+
+ homepage = "https://mc-stan.org/posterior/"
+ cran = "posterior"
+
+ version('1.1.0', sha256='eff6262dbcc1bf18337f535b0c75ba2fe360322e8b170c466e24ed3ee76cf4d2')
+
+ depends_on('r@3.2.0:', type=('build', 'run'))
+ depends_on('r-abind', type=('build', 'run'))
+ depends_on('r-checkmate', type=('build', 'run'))
+ depends_on('r-rlang@0.4.7:', type=('build', 'run'))
+ depends_on('r-tibble@3.0.0:', type=('build', 'run'))
+ depends_on('r-vctrs', type=('build', 'run'))
+ depends_on('r-tensora', type=('build', 'run'))
+ depends_on('r-pillar', type=('build', 'run'))
+ depends_on('r-distributional', type=('build', 'run'))
+ depends_on('r-matrixstats', type=('build', 'run'))