summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric <erimar77@users.noreply.github.com>2017-11-27 02:30:52 -0600
committerMassimiliano Culpo <massimiliano.culpo@googlemail.com>2017-11-27 09:30:52 +0100
commitfcf331f17626cdaf7d64a8b43a2dee8b971d7c7e (patch)
tree12e4fc7f84c916e4ef1bdf7f82780e9335129ac4
parent0bb789eb23e6540e877b81a461c3d7af8e442287 (diff)
downloadspack-fcf331f17626cdaf7d64a8b43a2dee8b971d7c7e.tar.gz
spack-fcf331f17626cdaf7d64a8b43a2dee8b971d7c7e.tar.bz2
spack-fcf331f17626cdaf7d64a8b43a2dee8b971d7c7e.tar.xz
spack-fcf331f17626cdaf7d64a8b43a2dee8b971d7c7e.zip
r-tsne: Create new package (#6461)
-rw-r--r--var/spack/repos/builtin/packages/r-tsne/package.py39
1 files changed, 39 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-tsne/package.py b/var/spack/repos/builtin/packages/r-tsne/package.py
new file mode 100644
index 0000000000..951692cf63
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-tsne/package.py
@@ -0,0 +1,39 @@
+##############################################################################
+# 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 RTsne(RPackage):
+ """A "pure R" implementation of the t-SNE algorithm."""
+
+ homepage = "https://cran.r-project.org/web/packages/tsne/index.html"
+ url = "https://cran.r-project.org/src/contrib/tsne_0.1-3.tar.gz"
+ list_url = "https://cran.rstudio.com/src/contrib/Archive/tnse"
+
+ version('0.1-3', '00974d4b3fd5f1100d0ebd24e03b0af9')
+ version('0.1-2', 'd96d8dce6ffeda68e2b25ec1ff52ea61')
+ version('0.1-1', '8197e5c61dec916b7a31b74e658b632d')
+
+ depends_on('r@3.4.0:3.4.9')