Skip to content

Commit 9ed7f53

Browse files
Merge branch 'release/0.19.0'
2 parents 39ec118 + eb613d0 commit 9ed7f53

2 files changed

Lines changed: 31 additions & 1 deletion

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: progressr
2-
Version: 0.18.0-9007
2+
Version: 0.19.0
33
Title: An Inclusive, Unifying API for Progress Updates
44
Description: A minimal, unifying API for scripts and packages to report progress updates from anywhere including when using parallel processing. The package is designed such that the developer can to focus on what progress should be reported on without having to worry about how to present it. The end user has full control of how, where, and when to render these progress updates, e.g. in the terminal using utils::txtProgressBar(), cli::cli_progress_bar(), in a graphical user interface using utils::winProgressBar(), tcltk::tkProgressBar() or shiny::withProgress(), via the speakers using beepr::beep(), or on a file system via the size of a file. Anyone can add additional, customized, progression handlers. The 'progressr' package uses R's condition framework for signaling progress updated. Because of this, progress can be reported from almost anywhere in R, e.g. from classical for and while loops, from map-reduce API:s like the lapply() family of functions, 'purrr', 'plyr', and 'foreach'. It will also work with parallel processing via the 'future' framework, e.g. future.apply::future_lapply(), furrr::future_map(), and 'foreach' with 'doFuture'. The package is compatible with Shiny applications.
55
Authors@R: c(person("Henrik", "Bengtsson",

NEWS.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
# Version 0.19.0 [2026-03-18]
2+
3+
## New Features
4+
5+
* `handlers()` gained support for specifying both progression
6+
handlers and enabling the global progression handler in one
7+
call, e.g. `handlers("beepr", "cli", global = TRUE)`.
8+
9+
## Performance
10+
11+
* `handler_cli()` no longer forces a display update after every
12+
tick, instead relying on **cli** itself to decide how often to
13+
refresh the display. This results in much better performance.
14+
15+
## Bug Fixes
16+
17+
* Buffering and flushing of standard output (stdout) would cause a
18+
progress bar in the terminal to overwrite flush output that did not
19+
include a newline. Although it was technically flushed, it would be
20+
invisible in the terminal. Now buffered stdout is only flushed up
21+
until the last newline, keeping the remaining output buffered until
22+
it is safe to flush.
23+
24+
25+
## Deprecated and Defunct
26+
27+
* Remove `progress()`, which has been defunct since **progressr**
28+
0.10.0 (2021-12-18).
29+
30+
131
# Version (development version)
232

333
## New Features

0 commit comments

Comments
 (0)