summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/r-bglr/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-bglr/package.py b/var/spack/repos/builtin/packages/r-bglr/package.py
new file mode 100644
index 0000000000..f25c167b71
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-bglr/package.py
@@ -0,0 +1,19 @@
+# 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 RBglr(RPackage):
+ """BGLR: Bayesian Generalized Linear Regression"""
+
+ homepage = "https://cran.r-project.org/package=BGLR"
+ url = "https://cran.r-project.org/src/contrib/BGLR_1.0.8.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/BGLR"
+
+ version('1.0.8', sha256='5e969590d80b2f272c02a43b487ab1ffa13af386e0342993e6ac484fc82c9b95')
+
+ depends_on('r@3.5.0:', type=('build', 'run'))
+ depends_on('r-truncnorm', type=('build', 'run'))