summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-future-apply/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-future-apply/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-future-apply/package.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/r-future-apply/package.py b/var/spack/repos/builtin/packages/r-future-apply/package.py
index 025d406ff5..6a436a1514 100644
--- a/var/spack/repos/builtin/packages/r-future-apply/package.py
+++ b/var/spack/repos/builtin/packages/r-future-apply/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 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)
@@ -7,7 +7,9 @@ from spack import *
class RFutureApply(RPackage):
- """Implementations of apply(), by(), eapply(), lapply(), Map(), mapply(),
+ """Apply Function to Elements in Parallel using Futures
+
+ Implementations of apply(), by(), eapply(), lapply(), Map(), mapply(),
replicate(), sapply(), tapply(), and vapply() that can be resolved using
any future-supported backend, e.g. parallel on the local machine or
distributed on a compute cluster. These future_*apply() functions come with
@@ -19,8 +21,11 @@ class RFutureApply(RPackage):
url = "https://cloud.r-project.org/src/contrib/future.apply_1.3.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/future.apply"
+ version('1.7.0', sha256='2ffa6adb55f239918ce9679b7eac8dcc4bf2e6bed35c9cbedf4bf90d906345db')
version('1.3.0', sha256='6374eca49bb81e05c013509c8e324cf9c5d023f9f8217b29ce7b7e12025ca371')
depends_on('r@3.2.0:', type=('build', 'run'))
depends_on('r-future@1.13.0:', type=('build', 'run'))
+ depends_on('r-future@1.17.0:', when='@1.7.0:', type=('build', 'run'))
depends_on('r-globals@0.12.4:', type=('build', 'run'))
+ depends_on('r-globals@0.12.5:', when='@1.7.0:', type=('build', 'run'))