summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorEric <erimar77@users.noreply.github.com>2017-11-23 02:00:32 -0600
committerMassimiliano Culpo <massimiliano.culpo@googlemail.com>2017-11-23 09:00:32 +0100
commitbdd8bb1fd9758fb875175619ab9dcc6d1c61495a (patch)
tree892f460af756e1e61deaee94af48a942944eaf7b /var
parent630d7e19db65f2756f488c76a70e4098241411ac (diff)
downloadspack-bdd8bb1fd9758fb875175619ab9dcc6d1c61495a.tar.gz
spack-bdd8bb1fd9758fb875175619ab9dcc6d1c61495a.tar.bz2
spack-bdd8bb1fd9758fb875175619ab9dcc6d1c61495a.tar.xz
spack-bdd8bb1fd9758fb875175619ab9dcc6d1c61495a.zip
r-ranger: Create new package (#6422)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-ranger/package.py45
1 files changed, 45 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-ranger/package.py b/var/spack/repos/builtin/packages/r-ranger/package.py
new file mode 100644
index 0000000000..599d9b6209
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-ranger/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 RRanger(RPackage):
+ """A fast implementation of Random Forests, particularly suited for high
+ dimensional data."""
+
+ homepage = "https://cran.r-project.org/web/packages/ranger/index.html"
+ url = "https://cran.r-project.org/src/contrib/ranger_0.8.0.tar.gz"
+ list_url = "https://cran.rstudio.com/src/contrib/Archive/ranger"
+
+ version('0.8.0', '1501380f418e784a6159bc1fb06fd32c')
+ version('0.7.0', 'c7fbcbab7c195bc8e65b1ceb3baeb87f')
+ version('0.6.0', '047ad26289c9b528b7476aa4811b4111')
+ version('0.5.0', 'd45001c8ff58d3078de7353971219927')
+ version('0.4.0', 'd404d8a9142372e3c77482b6b7dc469b')
+
+ depends_on('r@3.4.0:3.4.9')
+ depends_on('r-matrix', type=('build', 'run'))
+ depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-rcppeigen', type=('build', 'run'))