Closed erikcs closed 1 week ago
Yes it adds complexity, but that's the price we have to pay in order to do this imo! Past versions of GRF are not available as CRAN binaries and have to be installed from source, which unfortunately can be challenging for many users.
(there's a bunch of unrelated commits below because I got a new arm mac that evidently produces slightly different results for characterization tests stored on the repo using x86-based systems)
This PR makes the random
seed
argument produce the same results irrespective of whatnum.threads
is set to. In order to reproduce past results, a global package optionoptions(grf.legacy.seed)
is added which can be set toTRUE
to revert back to the old behavior whereseed
andnum.threads
interacts.1368.