summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-parallelmap/package.py
blob: e35576305eb341e8cc6102dbaa59d66b92d27bda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2013-2022 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 RParallelmap(RPackage):
    """Unified Interface to Parallelization Back-Ends

    Unified parallelization framework for multiple back-end, designed for
    internal package and interactive usage. The main operation is a parallel
    "map" over lists. Supports local, multicore, mpi and BatchJobs mode.
    Allows "tagging" of the parallel operation with a level name that can be
    later selected by the user to switch on parallel execution for exactly this
    operation."""

    homepage = "https://github.com/berndbischl/parallelMap"
    url      = "https://cloud.r-project.org/src/contrib/parallelMap_1.3.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/parallelMap"

    version('1.5.0', sha256='4afa727f4786279718cc799e45e91859a46f5cbc1ee652b0f47ae3b9f9d45e4e')
    version('1.4', sha256='fb6f15e325f729f1c5218768b17c20909ee857069c6cc5d8df50e1dafe26ed5b')
    version('1.3', sha256='a52d93572c1b85281e41d8e3c2db97dda5fce96c222e04171b4489ec5000cd08')

    depends_on('r@3.0.0:', type=('build', 'run'))
    depends_on('r-bbmisc@1.8:', type=('build', 'run'))
    depends_on('r-checkmate@1.8.0:', type=('build', 'run'))