summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-mlbench/package.py
blob: c2eec7e41808d8b2123150b432ee5dafa7770a5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 RMlbench(RPackage):
    """A collection of artificial and real-world machine learning benchmark
    problems, including, e.g., several data sets from the UCI repository."""

    homepage = "https://cran.r-project.org/web/packages/mlbench/index.html"
    url      = "https://cran.r-project.org/src/contrib/mlbench_2.1-1.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/mlbench"

    version('2.1-1', '9f06848b8e137b8a37417c92d8e57f3b')

    depends_on('r@2.10:')

    depends_on('r-lattice', type=('build', 'run'))