-
Notifications
You must be signed in to change notification settings - Fork 2
/
NEWS
141 lines (115 loc) · 5.49 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
*************************************************************************
Changes in version 1.8
*************************************************************************
CHANGES
o Unit tests are now run through testthat
o Minor fixes in man pages and README file
o Now depends on rngtools >= 1.3
o The result list gains an attribute 'doRNG_version' that contains
the version of doRNG that was used, based on doRNGversion().
NB: this is not necessarily the same as the version of the installed
package.
o Added the following global option 'doRNG.rng_change_warning_skip'.
See ?`%dorng%` (issue #14).
o Moved dependency on pkgmaker to Suggests to make installation lighter
(issue #10).
FIXES
o Enabled running %dorng% loops within a package (incorporating
the solution proposed by Elizabeth Byerly in PR#3)
o Fixed error with NULL iteration results when setting 'rng'
attribute (issue #9)
o Fixed error when using unamed foreach arguments (issue #8)
o Fixed non-reproducibility issue when the .Random.seed is not yet
initialized, e.g., when the session starts and the RNG has not been
used yet (issue #12)
o Fixed runtime error when package is not attached (issue #13)
*************************************************************************
Changes in version 1.6.2
*************************************************************************
FIXES
o Non reproducible %dorng% loop when doRNG is registered over doSEQ
(Issue #1 reported by Brenton Kenkel). Actually due to %dorng% not
restoring the RNG (to state + 1) when doRNG is registered over doSEQ.
o %dorng% was not working properly on loops of length one (Issue #2)
*************************************************************************
Changes in version 1.6
*************************************************************************
CHANGES
o doRNG now depends on the package pkgmaker (>= 0.20)
FIXES
o Check error due number of cores used. Now limited to 2 in examples,
vignette and unit test.
*************************************************************************
Changes in version 1.5
*************************************************************************
CHANGES
o doRNG now depends on the package pkgmaker (>= 0.9)
o improved vignette
o most of the general RNG utilities have been incorporated in a new
package called rngtools.
*************************************************************************
Changes in version 1.4.1
*************************************************************************
CHANGES
o when the current RNG was L'Ecuyer-CMRG, unseeded loops now use
the current RNG stream as for the first stream in the RNG sequence
and changes the current RNG to the next RNG stream of the last stream
in the sequence.
BUG FIX
o fix error "'iter' not found" due to changes in foreach package
dependencies -- that was announced by Rich Calaway.
o loops seeded with set.seed and .options.RNG were not reproducible
when current RNG was L'Ecuyer-CMRG (reported by Zhang Peng)
o separate unseeded loops were sharing most of their streams,
when current RNG was L'Ecuyer-CMRG the RNG seed.
o nested/conditional loops were crashing with a bad error.
They are still not supported but the error message is nicer and a
work around has been added to the vignette (reported by Chanhee Yi
and Zhang Peng).
*************************************************************************
Changes in version 1.2.3
*************************************************************************
BUG FIX
o fixed error when running a %dorng% loop on a fresh session, with no
parallel backend registered.
CHANGES
o improved vignette
o added more unit tests
o changed the name of the RNG attribute on result of %dorng% looops
from 'RNG' to 'rng'. It now contains the whole sequence of RNG seeds,
instead of only the first one.
o RNGseq now accepts a list or a matrix describing the whole sequence
of seeds. See vignette for more details.
o %dorng% loops can be seeded with a complete sequence of seeds passed
as a list, a matrix, or an object with attribute 'rng', e.g. the
results of %dorng% loops. See vignette for more details.
*************************************************************************
Changes in version 1.2.2
*************************************************************************
BUG FIX
o separate %dorng% loops were using the same seed.
NEW FEATURES
o add unit tests
o first seed is set as an attribute of the loop's result
CHANGES
o function doRNGseed now returns the seed to use for the first
iteration.
o RNGseq now change the current RNG state if called with no seed
specific.
DEFUNCT
o removed function CMRGseed
*************************************************************************
Changes in version 1.2
*************************************************************************
BUG FIX
o An error was thrown if using %dorng% loops before using any random
generator. Thanks to Eric Lehmann for reporting this.
CHANGES
o add vignette
o use package doParallel in examples
*************************************************************************
Changes in version 1.1
*************************************************************************
CHANGES
o use R core RNG "L'Ecuyer-CMRG" and the parallel package,
instead of the implementation provided by the rstream package.