This function checks that the RNG is working properly and has not been changed. If the RNG does not return values as in previous versions of R then the function executes stop(). Since changes to the RNG will cause comparisons of simulation results to fail, this is a useful check before investigating more complicated problems that may be a result of other "improvements" in your simulation or estimation programs.
此功能检查的RNG正常工作的,并没有改变。如果RNG不返回在以前版本的R值,则该函数执行stop()。由于变化的RNG会导致仿真结果的比较失败,这是一个有用的检查之前调查的更复杂的问题,可能是由于其他“改善”在您的模拟或估计程序。
值----------Value----------
logical
逻辑
副作用----------Side Effects----------
Executes stop() if the tests fail.
执行stop(),如果测试失败。