From 723eea00f354dadfa89b730ffbe0a6fdf118d121 Mon Sep 17 00:00:00 2001
From: Justin S <3630356+codeandkey@users.noreply.github.com>
Date: Tue, 14 May 2019 16:24:01 -0500
Subject: [PATCH] r-construct: new package at 1.0.3 (#11452)

---
 .../builtin/packages/r-construct/package.py   | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 var/spack/repos/builtin/packages/r-construct/package.py

diff --git a/var/spack/repos/builtin/packages/r-construct/package.py b/var/spack/repos/builtin/packages/r-construct/package.py
new file mode 100644
index 0000000000..03f026dc2d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-construct/package.py
@@ -0,0 +1,29 @@
+# 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 RConstruct(RPackage):
+    """conStruct: Models Spatially Continuous and Discrete Population
+       GeneticStructure"""
+
+    homepage = "https://cran.r-project.org/package=conStruct"
+    url      = "https://cran.r-project.org/src/contrib/conStruct_1.0.3.tar.gz"
+    list_url = "https://cran.r-project.org/src/contrib/Archive/conStruct"
+
+    version('1.0.3', sha256='b449c133a944ad05a28f84f312ed4ccbc1574c4659aa09c678618d2ae9008310')
+
+    depends_on('r@3.4.0:', type=('build', 'run'))
+    depends_on('r-bh@1.66.0:', type=('build', 'run'))
+    depends_on('r-caroline', type=('build', 'run'))
+    depends_on('r-doparallel', type=('build', 'run'))
+    depends_on('r-foreach', type=('build', 'run'))
+    depends_on('r-gtools', type=('build', 'run'))
+    depends_on('r-rcpp@0.12.0:', type=('build', 'run'))
+    depends_on('r-rcppeigen@0.3.3.3.0:', type=('build', 'run'))
+    depends_on('r-rstan@2.18.1:', type=('build', 'run'))
+    depends_on('r-rstantools@1.5.0:', type=('build', 'run'))
+    depends_on('r-stanheaders@2.18.0:', type=('build', 'run'))
-- 
GitLab