summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-domc/package.py
blob: 2fd58884d5620218fcc71f969fc1a3ee6b94a2bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 RDomc(RPackage):
    """Provides a parallel backend for the %dopar% function using
    the multicore functionality of the parallel package."""

    homepage = "https://cran.r-project.org/package=doMC"
    url      = "https://cran.r-project.org/src/contrib/doMC_1.3.4.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/doMC"

    version('1.3.4', 'f965b09add9056e84f99a831dc3af7d1')

    depends_on('r@2.14.0:')

    depends_on('r-foreach@1.2.0:', type=('build', 'run'))
    depends_on('r-iterators@1.0.0:', type=('build', 'run'))