add version 1.5 to r-rngtools (#20887)

This commit is contained in:
Glenn Johnson 2021-01-15 02:59:52 -06:00 committed by GitHub
parent 9a2155f7b1
commit 1e9eae7c1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,8 +7,10 @@
class RRngtools(RPackage): class RRngtools(RPackage):
"""This package contains a set of functions for working with Random Number """Utility Functions for Working with Random Number Generators
Generators (RNGs). In particular, it defines a generic S4 framework for
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 getting/setting the current RNG, or RNG data that are embedded into objects
for reproducibility. Notably, convenient default methods greatly facilitate for reproducibility. Notably, convenient default methods greatly facilitate
the way current RNG settings can be changed.""" 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" url = "https://cloud.r-project.org/src/contrib/rngtools_1.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rngtools" list_url = "https://cloud.r-project.org/src/contrib/Archive/rngtools"
version('1.5', sha256='8274873b73f7acbe0ce007e62893bf4d369d2aab8768754a60da46b3f078f575')
version('1.4', sha256='3aa92366e5d0500537964302f5754a750aff6b169a27611725e7d84552913bce') version('1.4', sha256='3aa92366e5d0500537964302f5754a750aff6b169a27611725e7d84552913bce')
version('1.3.1.1', sha256='99e1a8fde6b81128d0946746c1ef84ec5b6c2973ad843a080098baf73aa3364c') version('1.3.1.1', sha256='99e1a8fde6b81128d0946746c1ef84ec5b6c2973ad843a080098baf73aa3364c')
version('1.3.1', sha256='763fc493cb821a4d3e514c0dc876d602a692c528e1d67f295dde70c77009e224') version('1.3.1', sha256='763fc493cb821a4d3e514c0dc876d602a692c528e1d67f295dde70c77009e224')
depends_on('r@3.0.0:', when='@:1.3.1', type=('build', 'run')) depends_on('r@3.0.0:', type=('build', 'run'))
depends_on('r@3.6.0:', when='@1.3.1.1', type=('build', 'run'))
depends_on('r@3.2.0:', when='@1.4:', 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-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'))