-
Notifications
You must be signed in to change notification settings - Fork 7
/
NEWS
434 lines (325 loc) · 19.5 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
berryFunctions
miscellaneous package by Berry Boessenkool, [email protected]
Any feedback is welcome, per email or on github.com/brry/berryFunctions
-----------------------------
-----------------------------
Changes in version 1.23.0 (2023-12-12)
- sumatraInitialize: reflect changes in Rstudio
-----------------------------
-----------------------------
Changes in version 1.22.0 (2023-04-12)
- sumatraInitialize, openPDF: reflect changes in Rstudio
- openFile: cross-platfrom compatibility, thanks to rhurlin
- traceCall: several unnecessary trace elements removed
- dataStr: handles packages with no datasets, column 'elements'
- par_sapply: now raises errors if encountered
- improvements to tableColVal, normTest
- This NEWS file formatted according to current requirements
- New functions: tmessage, twarning, tstop, runRversions, bmap
-----------------------------
-----------------------------
Changes in version 1.21.0 (2022-02-13)
- dataStr: now opened in Rstudio viewer, new arguments heads+view
- removeSPace: to be removed (replace with trimws)
- broken URLS fixed / removed
- New functions: par_sapply, write.tab, normTest
-----------------------------
-----------------------------
Changes in version 1.20.0 (2021-03-30)
- sumatraInitialize: now also write to appData/Roaming/SumatraPDF
- createPres: new argument asp, defaults to 16:9 presentations
- classify: gains argument 'col' to conveniently map a color palette
- popleaf: gains new arguments 'truncate' and 'tstring'
- testExamples: clean computing time logfile
- traceCall: removes more unwanted output
- groupHist: gains argument 'col'
- library2: message removed, 'quietly' argument added
- checkFile: Nicer error messages, removal of trailing slashes improved
- TFtest: letters recognized better
- normalizePathCP: removal of trailing slashes added
- dataStr: completely rewritten, new API
- documentation URLS updated
- New functions: runTime, compareDist, if.error, locatorRS
-----------------------------
-----------------------------
Changes in version 1.19.0 (2020-06-05)
- several additional arguments for functions dataStr, seqR, packagePath, popleaf, monthAxis, groupHist
- almost.equal now has scale=1 as default
- better messages in learnVocab, colPoints
- newFilename now handles file_1.ext
- testExamples suppress pbapply progbars in logfiles
- New functions: yearPlot, sumatraInitialize, openPDF
- Removed functions: exTime, instGit, toUpper1
-----------------------------
-----------------------------
Changes in version 1.18.1 (2019-04-30)
- monthAxis: lrange option improved, trunc option added
- createPres: bgblack + navbullets options + Rlogo added
- linReg: can supress parts of the legend
- lsc: NAs handled correctly
- newFilename: message improved
- sortDF+getColumn: option quiet added
- dataStr: returns results, df-only option added
- checkFile: folders checked without leading slashes
- funSource: opens less URLs, gains local option, has better examples
- many dontrun examples corrected, sped up
- combineFiles: adds filename for Rstudio outline
- monthAxis: examples added
- sortDF+getColumn: used and referenced where needed
- logAxis(1:2) bug removed
- linREg: gains argument col
- climateGraph(compress=TRUE) bug removed for all rain<100
- palette functions moved into a single file
- ciBand: checks order of yl,ym,yu
- l2df+l2array: handle data.frame inputs better
- colPoints: uses image for matrix input
- New functions: testExamples, learnVocab, catPal
- Removed functions: ci, funTinn
-----------------------------
-----------------------------
Changes in version 1.17.0 (2018-03-24)
- createPres+pdfpng: now opens file if wanted
- climateGraph: table writing corrected when compress=TRUE
- normalizePathCP: now works on Mac/Solaris as well
- New function: roundedRect
-----------------------------
-----------------------------
Changes in version 1.16.3 (2017-11-10)
- newFilename: with normalizePathCP, uses absolute paths for non-existing files also on Linux (needed for rdwd to work on CRAN)
- exTime: use documented functions instead of exported functions
- dataDWD+readDWD are no longer documented as functions
- example computation times lowered
- new function: normalizePathCP
-----------------------------
-----------------------------
Changes in version 1.16.0 (2017-11-03)
- tryStack: error messages improved, skip argument added, output invisible
- pdfpng: safer device closing, errors traced
- createPres: several small improvements
- classify: NAs handled
- divPal,seqPal,showPal: more palettes added
- createFun: default directory ".", handles subfolder wds, better examples
- newFilename: handles "./file" paths, overwrite option, hugely improved messages
- dataStr: sorted alphabetically, works for unloaded packages
- importFrom entries completed
- colPoints: bglines argument for grid drawing, new log argument, hist argument removed
- colPointsLegend: bg=par("bg") instead of "white", nlab argument, smallPlot in try
- funSource: also opens lowercase .r file
- classify: true logspaced added, methods renamed, messages improved
- getColumn: complete rewrite, several input methods now possible
- owa: runs more checks on inputs
- monthAxis: replaced with much cleaner code (kept as timeAxis for backwards compatibility)
- several minor changes, see github commit history
- New functions: round0, openFile, parallelCode, between, packagePath, timeAxis
-----------------------------
-----------------------------
Changes in version 1.15.0 (2017-04-10)
- traceCall: vignette and knitr stuff removed from trace, speed gain through sys.calls
- after smallPlot calls, mtext, axis etc can be used normally again. Messages are improved.
- colPoints: lines bug fixed, new legend density bandwidth default
- seasonality: plotting defaults improved, plotting order changed, moving window now gaussian
- some functions gain quiet arguments and improved messages and argument defaults, see github url below
- New functions: almost.equal, newFilename, createPres, pdfpng, popleaf, legendmt
- Removed functions: dataDWD, readDWD (kept as help file with reference to rdwd until late 2017)
- For all changes, see: https://github.com/brry/berryFunctions/compare/master@{2017-01-16}...master@{2017-04-07}#files_bucket
-----------------------------
-----------------------------
Changes in version 1.14.0 (2017-01-16)
- tryStack: API change (new and changed arguments), now also traces messages
- logHist: can now handle add=TRUE input, nicer y axis limits by default
- climateGraph: now in a single layout plot for multipanel plot usage
- exTime: can now time a complete package
- googleLink2pdf: all regular hex characters converted to ascii
- l2array: now uses abind for much faster results, handles lists with matrices
-----------------------------
-----------------------------
Changes in version 1.13.0 (2016-12-10)
- numerous smaller commits on https://github.com/brry/berryFunctions/commits/master
- seasonality has been greatly expanded and generalized
- smallPlot gains the argument 'outer', margins are now given in lines
- smallPlot locations checked with useful error messages
- owa example usage clarified, now yields a message if arguments are ignored
- dataDWD and readDWD moved to new package rdwd, functionality there greatly expanded
- getColumn and checkFile gained more useful warning/error messages
- licence expanded
- tableColVal massively simplified and improved
- funSource searches target repos on github
- New functions: around, convertUmlaut, truncMessage, tryStack, l2array
- Removed functions: randomPoints, triangleArea, cie, cls, pastec, pointZoom, createDoc
-----------------------------
-----------------------------
Changes in version 1.12.3 (2016-09-27)
- traceCall corrected so that it also works with older versions of R
- wrong smallPlot coordinate input now actually caught
-----------------------------
-----------------------------
Changes in version 1.12.2 (2016-09-20)
https://github.com/brry/berryFunctions/compare/master@{2016-08-18}...master@{2016-09-19}
- mainly a release to be able to update OSMscale which will use getColumn et al.
- seasonality has been expanded quite a bit, spiralDate along with it
- Goodness of fit measures unified into one file and with common input check function
- informative error messages possible with the new functions traceCall and getColumn
- classify logspaced bug corrected and implemented in seqPal
- New functions: traceCall, getName, getColumn, kge
- Removed functions: randomPoints, triangleArea, equidistPoints (moved to OSMscale)
-----------------------------
-----------------------------
Changes in version 1.11.0 (2016-08-18)
- https://github.com/brry/berryFunctions/compare/master@{2016-04-29}...master@{2016-08-18}
- A few function arguments added or refined here and there
- spatially related functions moved to OSMscle (in development at github.com/brry/OSMscale)
- na9 is now accurate
- smallPlot now works correctly in multiple-figure plots (par(mfrow))
- monthAxis gains a nice ym argument for plots with 1-3 years of data
- showPal color palette display slightly expanded
- New functions: exTime, is.error, checkFile, seasonality, spiralDate, spiralDateAnim, locArrow, runAxis, dataDWD, readDWD, toupper1, anhang
-----------------------------
-----------------------------
Changes in version 1.10.0 (2016-04-29)
- numerous small code and documentation improvements, see https://github.com/brry/berryFunctions/compare/master@{2015-10-10}...master@{2016-04-29}
- the package is now Roxygenized, the source code structure is much more standardized
- There now is a vignette
- normPlot: colors drawn in quantiles
- monthAxis: gained labels and midyear argument
- linReg: legargs can now be specified, as well as confint.
- mReg: input checks + NA and 0 now handled well (thanks to Mathias Hollaender)
- Color palette default unified throughout the package
- New functions: insertRows, dataStr, betaCompPlot, rescale, divPal, seqPal, na9, addFade, logHist, locLine, createFun, headtail, TFtest, showPal, instGit
-----------------------------
-----------------------------
Changes in version 1.9.0 (2015-10-10)
- To see all changes in detail, go to: https://github.com/brry/berryFunctions/compare/master@{2015-06-02}...master@{2015-10-10}
- The general overview:
- Package imports 'base' packages: graphics (22 functions used), stats (18), utils (6), grDevices (5)
- Documentation updated in several places, notably in package info
- ChangeLog renamed to NEWS, so that it shows up in package help index
- combineFiles: progbar option added, with default options does no longer include outFile in outFile
- climateGraph: rainfall sum corrected if compress=TRUE
- movAv: NA handling greatly improved (some bugs went unnoticed for a long time)
- linReg and mReg: handle NAs and formula input
- linLogHist, linLogTrans: added sleep argument to slow down animation
- pointZoom: expr argument added, colp renamed (col could not be given)
- New functions: sortDF, timer, approx2, ciBand
-----------------------------
-----------------------------
Changes in version 1.8.1 (2015-06-02)
- For all changes see the commits on github with these links:
- https://github.com/brry/berryFunctions/compare/master@{2014-12-22}...master
- https://github.com/brry/berryFunctions/compare/master@{2014-12-22}...master@{2015-06-02}
- documentation improved and examples expanded in many places
- where graphical parameters are changed, options are added to reset them (betaPlot, linLogTrans, normPLot, smallPlot, and in some example sections)
- improvements in package-internal references to other functions (smoothLines eg now calls addAlpha, new functions repeatedly rely on existing functions)
- linLogTrans: lots of new options, better transformation t values
- logAxis: intermediate tick marks enabled
- pretty2 can now be forced to return an exact nubmer of values
- quantileMean: inputs checked, truncate option (analog to extremeStat::distLquantile), example with sample size dependency simulation
- smallPlot: improved for mfrow situations, coordinates input and swapping improved, auomatic correction of input errors
- New functions: panelDim, groupHist, monthAxis, pastec, linLogHist, movAvLines
- Removed functions: deprecatedFunctions
-----------------------------
-----------------------------
Changes in version 1.7.1 (2014-12-20)
- various small changes and bug fixes. See the commits on github
- rmse and rsquare NA-removal warnings can now be silenced with quiet=TRUE
- linReg: formula specification is now enabled: linReg(obj1~obj2) or linReg(col_a~col_b, data=df)
- colPoints can now draw lines (with interpolation and with NA management) and triangles at legend ends for values outside Range
- classify has new method logscaled and an index for values outside Range
- textField: vertical extend of bounding boxes is now correct through use of expression
- tableColVal: text can be changed (eg logarithmized, see examples)
- createDoc: case now checked. Fixed handling when several args per line or explanations contain 'DEFAULT:'
- logAxis: good internal range and base defaults. exponents. side can be a vector.
- owa: replaced u with ellipsis. order of arguments is not changed anymore.
- nameSample has been enhanced a lot.
- tableColVal now uses classify
- combineFiles now allows selection of lines
- New functions: logSpaced, removeSpace, expReg, dupes
-----------------------------
-----------------------------
Changes in version 1.6 (2014-10-14)
- removed extremeStatLmom from this package (now in separate package extremeStat), updated package title and description
- created a file with deprecated functions
- version table removed from berryFunctions package documentation (redundant and outdated information)
- Development version is now on Github
- "cat" changed to "message" where applicable
- mReg and exp4p documentation updated (minor changes)
- logAxis expanded by log argument to draw the lines on log10(data) but without plot(log="x")
- logAxis argument order improved (side at first place to mimic axis)
- logAxis argument base has new default (1,2,5)
- linReg now also writes rmse. The default line width and pch were changed
- addAlpha now also takes a vector for alpha and yields elementwise alpha-ing
- compareFiles and combineFiles have been renamed for consistency
- seqR: added extendrange argument, rewrote part of the function
- New functions: rainbow2, quantileMean, quantileBands, (compareFiles and combineFiles)
- Removed functions: extremeStatLmom, changeAttribute, showAttribute shapeZoom, (compFiles and combineTextfiles)
-----------------------------
-----------------------------
Changes in version 1.5.2 (2014-09-15)
- Functions to be moved to new packages warn about it (extremeStatLmom, changeAttribute, showAttribute and shapeZoom)
- combineTextfiles gained 'names' argument to include filenames in the output
- unitHydrograph: View() in examples only when interactive
- nse, rmse, rqsuare: NA warning now gives numbers
- New function: logAxis
-----------------------------
-----------------------------
Changes in version 1.5 (2014-09-03)
- To-Do-list centralized and sorted here, no to-Dos left in source code.
- climateGraph: argument lists for each polygon with owa. sum and avg now at figure margins via mtext.
- createDoc: extreme simplification of creation of usage section. Now creates new .Rd file if one already exists. Backslash handling optimized, but not perfect yet. Now allows latex in arg explanation, but the function start has to be indicated by a single { in an otherwise empty line. "fun" argument does not have to be in quotation marks anymore. Equal sign in defaults now handled correctly.
- logVals: Default values for 'from' and 'to' changed
- seqR: range is now first argument, so it doesn't have to be given each time. min and max argument "finite" changed to "na.rm".
- tableColVal: argument lists for each text group, allowing srt etc.
- owa: throws an understandable error when unnamed arguments are in the list
- lsc: now warns when sum under UH is !=1. Calculation time Rcmd check in examples reduced. nse and rmse explicitly called from this package.
- mReg: exp_4p outsourced, rsquare and rmse taken from package, R^2 is now calculated on the actual fit, not its linearization
- require2 received the alias library2
- colPoints, colPointsLegend: generally rewritten. classification methods, cpHist and smallPlot added.
- extremeStatLmom: code for legend arguments improved (with owa)
- packages lmom and spatstat were moved from "suggests" to "imports", as they are within functions and not just in the examples.
- New functions: normPlot, betaPlot, exp4p, compFiles, funTinn, pretty2, colPointsHist, classify, smallPlot
- Removed functions: compareDoc (Rcmd check does this better, once a package is set up), extremeStat (replaced with extremeStatLmom)
-----------------------------
-----------------------------
Changes in version 1.4 (2014-07-01)
- Added To-Do list with my personal wishes (and some comments from other people) at the top of this ChangeLog.
- Examples in several functions received line breaks / shortening
- extremeStatLmom: p.value by ks.test as measure for goodness of fit addded. Output is now data.frame instead of matrix. Value field in Doc is complemented. Examples are updated.
- lsc: example QP-Data is now a file in the package folder extdata, not a dropbox link anymore (files were accidentally deleted and it was too slow anyways). P and Q labels are now placed in the outer margin.
- mReg: ditto for temp data
- New function: linLogTrans
-----------------------------
-----------------------------
Changes in version 1.3 (2014-06-08)
- Description field much more verbose
- Shapefile (6 MB) removed from data
- examples in changeAttribute, showAttribute, shapeZoom changed accordingly
-----------------------------
-----------------------------
Changes in version 1.2 (2014-06-06)
- email address in DESCRIPTION Maintainer Field (how could I possibly miss that typo?!) is now corrected.
- This ChangeLog is now reformated to create a standard layout.
- A lot of examples have received line breaks (they were longer than 100 chars).
- berryFunctions-package: examples completed and grouped
- createDoc: seealso extended.
- funnelPLot and mReg: owa removed from function body
- lsc: argument returnsim included, output now vector. psi incluced. catchment area included, examples and documentation updated
- logVals: description updated
- owa: programming example included, description changed.
- combineTextfiles: example added.
- require2: example is set to dontrun
-----------------------------
-----------------------------
Changes in version 1.1 (2014-06-05)
- First Version to be published
- all functions have documentation.
- Function names are standardized in lowerCamel.
- Many of the already existing functions have been extended with more arguments and possibilities.
- The following 3 functions have been removed:
- info - use class or mode seperately
- Rand - use box("figure")
- vlast - use head() and tail()
- New functions: addAlpha, addRows, changeAttribute, climateGraph, cls, combineTextfiles, createDoc, extremeStatLmom, funnelPlot, googleLink2pdf (formerly link_google2pdf), l2df, lim0, logVals, lsc, lsMem, mReg, nameSample, nse, owa, pointZoom (formerly bzoom), require2, rmse, rsquare, seqR, showAttribute, smoothLines (formerly blines), superPos, tableColVal, textField, triangleArea (formerly dreieckflaeche), unitHydrograph, yearSample
-----------------------------
-----------------------------
Changes in version 1.0 (2012-10-04)
- unpublished, mainly just to try building a package
- initial functions (Most of them had no or few documentation): blines, bzoom, ci, cie, circle, colpoints, colpointslegend, distance, dreieckflaeche, extremSTAT, horiz.hist, info, link_google2pdf, linreg, monthlabs, movav, Rand, randompoints, shapezoom, vlast