spack/var/spack/repos/builtin/packages/r-ranger/package.py
Todd Gamblin eea786f4e8 relicense: replace LGPL headers with Apache-2.0/MIT SPDX headers
- remove the old LGPL license headers from all files in Spack
- add SPDX headers to all files
  - core and most packages are (Apache-2.0 OR MIT)
  - a very small number of remaining packages are LGPL-2.1-only
2018-10-17 14:42:06 -07:00

27 lines
1.0 KiB
Python

# Copyright 2013-2018 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 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'))