28 lines
1.3 KiB
Python
28 lines
1.3 KiB
Python
# Copyright 2013-2021 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 RRpartPlot(RPackage):
|
|
"""Plot 'rpart' Models: An Enhanced Version of 'plot.rpart'
|
|
|
|
Plot 'rpart' models. Extends plot.rpart() and text.rpart() in the
|
|
'rpart' package."""
|
|
|
|
homepage = "https://cloud.r-project.org/package=rpart.plot"
|
|
url = "https://cloud.r-project.org/src/contrib/rpart.plot_2.1.0.tar.gz"
|
|
list_url = "https://cloud.r-project.org/src/contrib/Archive/rpart.plot"
|
|
|
|
version('3.0.9', sha256='1150f5e9899b3b31b17160617cd99c3ad340c8361aeb229264a7a3a3a28015a4')
|
|
version('3.0.7', sha256='04e7fcadfa907507b74529c3ecfae4a0c782badf55e87d9c62dbd9a536ea9144')
|
|
version('3.0.6', sha256='1c584290c8f58ded5c3f0638790a0da63408eca3ecd5d5c4d8c46954de9f4b02')
|
|
version('2.1.0', sha256='17686da1883f97cb8f44be0d9cb915b366a3cb7313cd131b96497ab09f727436')
|
|
|
|
depends_on('r@3.2.0:', when='@2.1.2:3.0.6', type=('build', 'run'))
|
|
depends_on('r@3.4.0:', when='@3.0.7:', type=('build', 'run'))
|
|
depends_on('r-rpart@4.1-10:', type=('build', 'run'))
|
|
depends_on('r-rpart@4.1-15:', when='@3.0.9:', type=('build', 'run'))
|