checkRNG checks if two objects have the same RNG
settings and should be used in unit tests, e.g., with the
checkRNG(x, y = getRNG(), ...)
objects from which RNG settings are
extra arguments passed to
# check for differences in RNG
try( checkRNG(123, 123) )
try( checkRNG(123, 1:3) )
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.