|
184 | 184 |
|
185 | 185 | ## Significant Changes |
186 | 186 |
|
187 | | - * Now `with_progress()` and `without_progress()` disables the global |
| 187 | + * Now `with_progress()` and `without_progress()` disable the global |
188 | 188 | progress handler temporarily while running to avoid progress |
189 | 189 | updates being handled twice. Previously, it was, technically, |
190 | 190 | possible to have two different progress handlers intertwined. |
|
230 | 230 |
|
231 | 231 | ## New Features |
232 | 232 |
|
233 | | - * When the using a 'winprogressbar' or a 'tkprogressbar' handler, |
| 233 | + * When using a 'winprogressbar' or a 'tkprogressbar' handler, |
234 | 234 | progression messages updates the `label` component of the progress |
235 | 235 | panel. Now, it is also possible to update the `title` component |
236 | 236 | based on progression messages. How the `title` and `label` |
|
241 | 241 | ones to update both. For backward compatible reasons, the default |
242 | 242 | is `inputs = list(title = NULL, label = "message")`. |
243 | 243 |
|
244 | | - * Now the demo function `slow_sum()` outputs also "sticky" messages. |
| 244 | + * Now the demo function `slow_sum()` also outputs "sticky" messages. |
245 | 245 |
|
246 | 246 | ## Miscellaneous |
247 | 247 |
|
|
252 | 252 |
|
253 | 253 | ## New Features |
254 | 254 |
|
255 | | - * Now **plyr** (>= 1.8.7) supports **progressr** for also parallel |
| 255 | + * Now **plyr** (>= 1.8.7) supports **progressr** also for parallel |
256 | 256 | processing, e.g. `y <- plyr::llply(X, slow_sum, .parallel = TRUE, |
257 | 257 | .progress = "progressr")`. |
258 | 258 |
|
|
276 | 276 | ## Bug Fixes |
277 | 277 |
|
278 | 278 | * A progressor that signaled progress beyond 100% prevented any |
279 | | - further progressors in the same environment to report on progress. |
| 279 | + further progressors in the same environment reporting on progress. |
280 | 280 |
|
281 | 281 | * It was not possible to reuse handlers of type 'progress' more than |
282 | 282 | once, because they did not fully reset themselves when finished. |
|
298 | 298 | ## Performance |
299 | 299 |
|
300 | 300 | * The progressor function created by `progressor()` no longer |
301 | | - "inherit" objects from the calling environment, which would, for |
| 301 | + inherits objects from the calling environment, which would, for |
302 | 302 | instance, result in those objects to be exported to parallel |
303 | 303 | workers together with the progressor function, which in turn would |
304 | 304 | come with large time and memory costs. |
|
322 | 322 | the call stack should be recorded in each `progression` condition. |
323 | 323 |
|
324 | 324 | * Now `print()` for `progressor` functions and `progression` |
325 | | - conditions report also on the size of the object, i.e. the number |
| 325 | + conditions reports also on the size of the object, i.e. the number |
326 | 326 | of bytes it requires when serialized, for instance, to and from a |
327 | 327 | parallel worker. |
328 | 328 |
|
329 | 329 | ## Bug Fixes |
330 | 330 |
|
331 | 331 | * Registered progression handlers would report on progress also when |
332 | | - in a _forked_ parallel child processes, e.g. when using |
| 332 | + in a _forked_ parallel child process, e.g. when using |
333 | 333 | `parallel::mclapply()`. This would give a false impression that |
334 | 334 | **progressr** updates would work when using `parallel::mclapply()`, |
335 | 335 | which is not true. Note however, that it does indeed work when |
|
350 | 350 | `progressr.*` option. Previously, some of these environment |
351 | 351 | variables were queried by different functions as a fallback to when |
352 | 352 | an option was not set. By only parsing them when the package is |
353 | | - loaded, it decrease the overhead in functions, and it clarifies |
| 353 | + loaded, it decreases the overhead in functions, and it clarifies |
354 | 354 | that options can be changed at runtime whereas environment |
355 | 355 | variables should only be set at startup. |
356 | 356 |
|
357 | | - * When using `withProgressShiny()`, progression messages now updates |
| 357 | + * When using `withProgressShiny()`, progression messages now update |
358 | 358 | the `detail` component of the Shiny progress panel. Previously, it |
359 | 359 | updated the `message` component. This can be configured via new |
360 | 360 | `inputs` argument. |
|
379 | 379 | * As an alternative to specifying the relative amount of progress, |
380 | 380 | say, `p(amount = 2)`, it is now possible to also specify the |
381 | 381 | absolute amount of progress made this far, e.g. `p(step = 42)`. |
382 | | - Argument `amount` has not effect when argument `step` is specified. |
| 382 | + Argument `amount` has no effect when argument `step` is specified. |
383 | 383 | WARNING: Argument `step` should only be used when in full control |
384 | 384 | of the order when this `progression` condition is signaled. For |
385 | 385 | example, it must not be signaled as one of many parallel progress |
|
521 | 521 |
|
522 | 522 | * Argument `interval` was ignored for `handler_debug()`. |
523 | 523 |
|
524 | | - * The class of `handler_<nnn>()` functions where all |
| 524 | + * The class of `handler_<nnn>()` functions were all |
525 | 525 | `reset_progression_handler` rather than |
526 | 526 | `<nnn>_progression_handler`. The same bug caused the reported |
527 | 527 | `name` field to be `"reset"` rather than `"<nnn>"`. |
|
542 | 542 |
|
543 | 543 | ## Significant Changes |
544 | 544 |
|
545 | | - * All progression handler function have been renamed from |
| 545 | + * All progression handler functions have been renamed from |
546 | 546 | `<name>_handler()` to `handler_<name>()` to make it easier to use |
547 | 547 | autocompletion on them. |
548 | 548 |
|
|
603 | 603 | * Package could set `.Random.seed` to NULL, instead of removing it, |
604 | 604 | which in turn would produce a warning on "'.Random.seed' is not an |
605 | 605 | integer vector but of type 'NULL', so ignored" when the next random |
606 | | - number generated. |
| 606 | + number was generated. |
607 | 607 |
|
608 | 608 |
|
609 | 609 | # Version 0.1.4 [2019-07-02] |
|
619 | 619 |
|
620 | 620 | * Now it is possible to send "I'm still here" progression updates by |
621 | 621 | setting the progress step to zero, e.g. `progress(amount = 0)`. |
622 | | - This type of information can for instance be used to updated a |
| 622 | + This type of information can for instance be used to update a |
623 | 623 | progress bar spinner. |
624 | 624 |
|
625 | 625 | * Add utility function `handlers()` for controlling option |
626 | 626 | `progressr.handlers`. |
627 | 627 |
|
628 | 628 | * Progression handlers' internal state now has a sticky `message` |
629 | | - field, which hold the most recent, non-empty progression `message` |
| 629 | + field, which holds the most recent, non-empty progression `message` |
630 | 630 | received. |
631 | 631 |
|
632 | 632 |
|
|
739 | 739 |
|
740 | 740 | * Now `with_progress(..., cleanup = TRUE)` will signal a generic |
741 | 741 | "shutdown" progression at the end that will trigger all progression |
742 | | - handlers to finish up regardless of all steps have been take or |
| 742 | + handlers to finish up regardless of whether all steps have been taken or |
743 | 743 | not. |
744 | 744 |
|
745 | 745 | * Now progressions originating from an unknown source are ignored. |
|
822 | 822 | also signal "done" as soon as the last step has been reached. |
823 | 823 |
|
824 | 824 | * Made `amount` the first argument of progressors to avoid having to |
825 | | - specify it by name if progressing with an amount than the default |
| 825 | + specify it by name if progressing with an amount other than the default |
826 | 826 | `amount = 1.0`. |
827 | 827 |
|
828 | 828 | * Add argument `clear` to control whether progress reporter should |
|
882 | 882 |
|
883 | 883 | * Add `progress()` to create and signal `progression` condition. |
884 | 884 |
|
885 | | - * Add `progression()` to create `progression` condition. |
| 885 | + * Add `progression()` to create `progression` condition. |
0 commit comments