spack/var/spack/repos/builtin/packages/r-domc/package.py

23 lines
776 B
Python

# Copyright 2013-2019 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'))