summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric <erimar77@users.noreply.github.com>2017-11-20 12:57:04 -0600
committerChristoph Junghans <christoph.junghans@gmail.com>2017-11-20 11:57:04 -0700
commit9040f34abaf873033f17abfa1fa349c3009eff49 (patch)
tree712013d2fbde2f9c58229a1ce73db10b7eef6499
parent1d69dbe7ae4ad94b0ced7f667fa4a74c5d105211 (diff)
downloadspack-9040f34abaf873033f17abfa1fa349c3009eff49.tar.gz
spack-9040f34abaf873033f17abfa1fa349c3009eff49.tar.bz2
spack-9040f34abaf873033f17abfa1fa349c3009eff49.tar.xz
spack-9040f34abaf873033f17abfa1fa349c3009eff49.zip
r-tclust: Create new package (#6380)
-rw-r--r--var/spack/repos/builtin/packages/r-tclust/package.py45
1 files changed, 45 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-tclust/package.py b/var/spack/repos/builtin/packages/r-tclust/package.py
new file mode 100644
index 0000000000..64d2bd5840
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-tclust/package.py
@@ -0,0 +1,45 @@
+##############################################################################
+# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/spack/spack
+# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+from spack import *
+
+
+class RTclust(RPackage):
+ """Provides functions for robust trimmed clustering."""
+
+ homepage = "https://cran.r-project.org/web/packages/tclust/index.html"
+ url = "https://cran.r-project.org/src/contrib/tclust_1.3-1.tar.gz"
+ list_url = "https://cran.rstudio.com/src/contrib/Archive/tclust"
+
+ version('1.3-1', '5415d74682588d4a6fb8ce166fc75661')
+ version('1.2-7', 'e32cd02819682cc944c7baaac3b6f2b7')
+ version('1.2-3', '922abc1abd8da4c6ac9830e1f2f71e84')
+ version('1.1-03', 'f1cc9278bdb068acce4623a9d98b7b62')
+ version('1.1-02', '6f206501b0341fb5623208d145984f5a')
+
+ depends_on('r@3.4.0:3.4.9')
+ depends_on('r-cluster', type=('build', 'run'))
+ depends_on('r-mclust', type=('build', 'run'))
+ depends_on('r-mvtnorm', type=('build', 'run'))
+ depends_on('r-sn', type=('build', 'run'))