summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-doparallel/package.py
blob: 06bc2bf0a7815cb69023c21eb6e18b583de90d17 (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 RDoparallel(RPackage):
    """Provides a parallel backend for the %dopar% function using the parallel
    package."""

    homepage = "https://cran.r-project.org/web/packages/doParallel/index.html"
    url      = "https://cran.r-project.org/src/contrib/doParallel_1.0.10.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/doParallel"

    version('1.0.11', 'd7822f0efd7bdf7582d8b43c986be86c')
    version('1.0.10', 'd9fbde8f315d98d055483ee3493c9b43')

    depends_on('r-foreach', type=('build', 'run'))
    depends_on('r-iterators', type=('build', 'run'))