summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJustin S <3630356+codeandkey@users.noreply.github.com>2019-05-14 16:22:29 -0500
committerLevi Baber <baber@iastate.edu>2019-05-14 16:22:29 -0500
commitfc890c80fbbd377425384b980d83ac5f18a41bc6 (patch)
tree716b147c95ab80768b5f335fc2d43dfc34d48778 /var
parent92040a475f4b43f9cb0ab63f813ac10605aeee35 (diff)
downloadspack-fc890c80fbbd377425384b980d83ac5f18a41bc6.tar.gz
spack-fc890c80fbbd377425384b980d83ac5f18a41bc6.tar.bz2
spack-fc890c80fbbd377425384b980d83ac5f18a41bc6.tar.xz
spack-fc890c80fbbd377425384b980d83ac5f18a41bc6.zip
r-loo: new package at 2.1.0 (#11448)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-loo/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-loo/package.py b/var/spack/repos/builtin/packages/r-loo/package.py
new file mode 100644
index 0000000000..6135d41ade
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-loo/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2019 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 RLoo(RPackage):
+ """loo: Efficient Leave-One-Out Cross-Validation and WAIC for
+ BayesianModels"""
+
+ homepage = "https://mc-stan.org/loo"
+ url = "https://cran.r-project.org/src/contrib/loo_2.1.0.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/loo"
+
+ version('2.1.0', sha256='1bf4a1ef85d151577ff96d4cf2a29c9ef24370b0b1eb08c70dcf45884350e87d')
+
+ depends_on('r@3.1.2:', type=('build', 'run'))
+ depends_on('r-checkmate', type=('build', 'run'))
+ depends_on('r-matrixstats@0.52:', type=('build', 'run'))