Package: rngtools 1.5.3

Image

Renaud Gaujoux

rngtools: 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.

Authors:Renaud Gaujoux [aut, cre], Max Kuhn [ctb]

rngtools_1.5.3.tar.gz
rngtools_1.5.3.zip(r-4.6)rngtools_1.5.3.zip(r-4.5)rngtools_1.5.3.zip(r-4.4)
rngtools_1.5.3.tgz(r-4.6-any)rngtools_1.5.3.tgz(r-4.5-any)
rngtools_1.5.3.tar.gz(r-4.6-any)rngtools_1.5.3.tar.gz(r-4.5-any)
rngtools_1.5.3.tgz(r-4.5-emscripten)
rngtools.pdf |rngtools.html
rngtools/json (API)
NEWS

# Install 'rngtools' in R:
install.packages('rngtools', repos = c('https://renozao.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/renozao/rngtools/issues

On CRAN:

Conda:

8.91 score 6 stars 237 packages 117 scripts 33k downloads 1 mentions 19 exports 1 dependencies

Last updated from:45a51bae98. Checks:6 OK, 3 ERROR. Indexed: yes.

TargetResultTotal timeArtifact
linux-devel-x86_64OK116
source / vignettesOK147
linux-release-x86_64OK112
macos-devel-arm64OK79
macos-release-arm64OK71
windows-develERROR76
windows-releaseERROR90
windows-oldrelERROR66
wasm-releaseOK93

Exports:.getRNG.setRNGcheckRNGgetRNGgetRNG1hasRNGnextRNGrng.equalrng1.equalRNGdigestRNGinfoRNGrecoveryRNGseedRNGseqRNGseq_seedRNGstrRNGtypesetRNGshowRNG

Dependencies:digest

Readme and manuals

Help Manual

Help pageTopics
Getting RNG Seeds.getRNG .getRNG,ANY-method .getRNG,list-method .getRNG,missing-method .getRNG,numeric-method
Setting RNG Seeds.setRNG .setRNG,character-method .setRNG,numeric-method
Checking RNG Differences in Unit TestscheckRNG
Getting/Setting RNGsgetRNG hasRNG nextRNG setRNG
Extracting RNG Settings from Computation Result ObjectsgetRNG1 getRNG1,ANY-method
Comparing RNG Settingsrng.equal rng1.equal
Directly Getting or Setting the RNG SeedRNGrecovery RNGseed
Generate Sequence of Random StreamsRNGseq RNGseq_seed
Formatting RNG InformationRNGdigest RNGinfo RNGstr RNGtype showRNG
Utility functions for working with Random Number Generatorsrngtools-package rngtools

  • Image