summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-foreach/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-foreach/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-foreach/package.py20
1 files changed, 9 insertions, 11 deletions
diff --git a/var/spack/repos/builtin/packages/r-foreach/package.py b/var/spack/repos/builtin/packages/r-foreach/package.py
index d0f62d0f6a..36c69a3826 100644
--- a/var/spack/repos/builtin/packages/r-foreach/package.py
+++ b/var/spack/repos/builtin/packages/r-foreach/package.py
@@ -7,19 +7,17 @@ from spack import *
class RForeach(RPackage):
- """Provides Foreach Looping Construct
+ """Provides Foreach Looping Construct.
- Support for the foreach looping construct. Foreach is an idiom that
- allows for iterating over elements in a collection, without the use of an
- explicit loop counter. This package in particular is intended to be used
- for its return value, rather than for its side effects. In that sense, it
- is similar to the standard lapply function, but doesn't require the
- evaluation of a function. Using foreach without side effects also
- facilitates executing the loop in parallel."""
+ Support for the foreach looping construct. Foreach is an idiom that allows
+ for iterating over elements in a collection, without the use of an explicit
+ loop counter. This package in particular is intended to be used for its
+ return value, rather than for its side effects. In that sense, it is
+ similar to the standard lapply function, but doesn't require the evaluation
+ of a function. Using foreach without side effects also facilitates
+ executing the loop in parallel."""
- homepage = "https://cloud.r-project.org/package=foreach"
- url = "https://cloud.r-project.org/src/contrib/foreach_1.4.3.tar.gz"
- list_url = "https://cloud.r-project.org/src/contrib/Archive/foreach"
+ cran = "foreach"
version('1.5.1', sha256='fb5ad69e295618c52b2ac7dff84a0771462870a97345374d43b3de2dc31a68e1')
version('1.4.7', sha256='95632c0b1182fc01490718d82fa3b2bce864f2a011ae53282431c7c2a3f5f160')