new_contents: ##############################################################################
  # 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'))
  
subject: Create new package (#6422)