progressr: A Unifying API for Progress Updates

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()' or 'progress::progress_bar()', in a graphical user interface using 'utils::winProgressBar()', 'tcltk::tkProgressBar()' or 'shiny::withProgress()', via the speakers using 'beep::beepr()', 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 APIs 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::map()', and 'foreach' with 'doFuture'. The package is compatible with Shiny applications.

Version: 0.4.0
Imports: digest, utils
Suggests: graphics, tcltk, beepr, pbmcapply, progress, purrr, foreach, plyr, doFuture, future (≥ 1.16.0), future.apply, furrr, shiny, commonmark, tools
Published: 2020-01-23
Author: Henrik Bengtsson [aut, cre, cph]
Maintainer: Henrik Bengtsson <henrikb at braju.com>
BugReports: https://github.com/HenrikBengtsson/progressr/issues
License: GPL (≥ 3)
URL: https://github.com/HenrikBengtsson/progressr
NeedsCompilation: no
Materials: NEWS
CRAN checks: progressr results

Downloads:

Reference manual: progressr.pdf
Vignettes: progressr: An Introduction
Package source: progressr_0.4.0.tar.gz
Windows binaries: r-devel: progressr_0.4.0.zip, r-devel-gcc8: progressr_0.4.0.zip, r-release: progressr_0.4.0.zip, r-oldrel: progressr_0.4.0.zip
OS X binaries: r-release: progressr_0.4.0.tgz, r-oldrel: progressr_0.4.0.tgz

Reverse dependencies:

Reverse imports: lightr, pavo

Linking:

Please use the canonical form https://CRAN.R-project.org/package=progressr to link to this page.