summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-promises/package.py
blob: 9c21434a2ffc0ee0139cbaecff03be41d0dcd6b0 (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
# Copyright 2013-2020 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 RPromises(RPackage):
    """Provides fundamental abstractions for doing asynchronous programming in
    R using promises. Asynchronous programming is useful for allowing a single
    R process to orchestrate multiple tasks in the background while also
    attending to something else. Semantics are similar to 'JavaScript'
    promises, but with a syntax that is idiomatic R."""

    homepage = "https://rstudio.github.io/promises"
    url      = "https://cloud.r-project.org/src/contrib/promises_1.0.1.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/promises"

    version('1.0.1', sha256='c2dbc7734adf009377a41e570dfe0d82afb91335c9d0ca1ef464b9bdcca65558')

    depends_on('r-r6', type=('build', 'run'))
    depends_on('r-rcpp', type=('build', 'run'))
    depends_on('r-later', type=('build', 'run'))
    depends_on('r-rlang', type=('build', 'run'))
    depends_on('r-magrittr', type=('build', 'run'))