From c7a28ec1d488b1b83cb0b205e66f7723544c69c7 Mon Sep 17 00:00:00 2001 From: Justin S <3630356+codeandkey@users.noreply.github.com> Date: Fri, 17 May 2019 14:35:38 -0500 Subject: [PATCH] r-bglr: new package at 1.0.8 (#11489) --- .../repos/builtin/packages/r-bglr/package.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-bglr/package.py 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'))