summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/r-rngtools/package.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/r-rngtools/package.py b/var/spack/repos/builtin/packages/r-rngtools/package.py
index 696e576b6c..6a6a36279b 100644
--- a/var/spack/repos/builtin/packages/r-rngtools/package.py
+++ b/var/spack/repos/builtin/packages/r-rngtools/package.py
@@ -7,8 +7,10 @@ from spack import *
class RRngtools(RPackage):
- """This package contains a set of functions for working with Random Number
- Generators (RNGs). In particular, it defines a generic S4 framework for
+ """Utility Functions for Working with Random Number Generators
+
+ Provides a set of functions for working with Random Number Generators
+ (RNGs). In particular, a generic S4 framework is defined for
getting/setting the current RNG, or RNG data that are embedded into objects
for reproducibility. Notably, convenient default methods greatly facilitate
the way current RNG settings can be changed."""
@@ -17,13 +19,13 @@ class RRngtools(RPackage):
url = "https://cloud.r-project.org/src/contrib/rngtools_1.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rngtools"
+ version('1.5', sha256='8274873b73f7acbe0ce007e62893bf4d369d2aab8768754a60da46b3f078f575')
version('1.4', sha256='3aa92366e5d0500537964302f5754a750aff6b169a27611725e7d84552913bce')
version('1.3.1.1', sha256='99e1a8fde6b81128d0946746c1ef84ec5b6c2973ad843a080098baf73aa3364c')
version('1.3.1', sha256='763fc493cb821a4d3e514c0dc876d602a692c528e1d67f295dde70c77009e224')
- depends_on('r@3.0.0:', when='@:1.3.1', type=('build', 'run'))
- depends_on('r@3.6.0:', when='@1.3.1.1', type=('build', 'run'))
+ depends_on('r@3.0.0:', type=('build', 'run'))
depends_on('r@3.2.0:', when='@1.4:', type=('build', 'run'))
- depends_on('r-pkgmaker@0.20:', type=('build', 'run'))
- depends_on('r-stringr', type=('build', 'run'))
depends_on('r-digest', type=('build', 'run'))
+ depends_on('r-pkgmaker@0.20:', when='@:1.4', type=('build', 'run'))
+ depends_on('r-stringr', when='@:1.4', type=('build', 'run'))