spack/var/spack/repos/builtin/packages/r-rngtools/package.py

26 lines
1.1 KiB
Python
Raw Normal View History

# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
2016-07-25 05:02:36 +08:00
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
2016-07-25 05:02:36 +08:00
from spack import *
2017-01-08 08:28:52 +08:00
class RRngtools(RPackage):
2016-07-25 05:02:36 +08:00
"""This package contains a set of functions for working with Random Number
Generators (RNGs). In particular, it defines a generic S4 framework 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."""
homepage = "https://renozao.github.io/rngtools"
url = "https://cran.r-project.org/src/contrib/rngtools_1.2.4.tar.gz"
list_url = "https://cran.r-project.org/src/contrib/Archive/rngtools"
2016-07-25 05:02:36 +08:00
2019-01-31 03:25:10 +08:00
version('1.3.1', sha256='763fc493cb821a4d3e514c0dc876d602a692c528e1d67f295dde70c77009e224')
2016-07-25 05:02:36 +08:00
version('1.2.4', '715967f8b3af2848a76593a7c718c1cd')
depends_on('r-pkgmaker', type=('build', 'run'))
depends_on('r-stringr', type=('build', 'run'))
depends_on('r-digest', type=('build', 'run'))