summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-later/package.py
blob: 95b68d97a0ad4b3b7b236fd48dfb0d2bd4dc8658 (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
# 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.package import *


class RLater(RPackage):
    """Utilities for Scheduling Functions to Execute Later with Event Loops.

    Executes arbitrary R or C functions some time after the current time, after
    the R execution stack has emptied."""

    cran = "later"

    version('1.3.0', sha256='08f50882ca3cfd2bb68c83f1fcfbc8f696f5cfb5a42c1448c051540693789829')
    version('1.1.0.1', sha256='71baa7beae774a35a117e01d7b95698511c3cdc5eea36e29732ff1fe8f1436cd')
    version('0.8.0', sha256='6b2a28b43c619b2c7890840c62145cd3a34a7ed65b31207fdedde52efb00e521')

    depends_on('r-rcpp@0.12.9:', type=('build', 'run'))
    depends_on('r-rlang', type=('build', 'run'))

    depends_on('r-bh', type=('build', 'run'), when='@:1.1.0.1')