The progressify() function rewrites (transpiles) calls to sequential and parallel map-reduce functions such as base::lapply(), purrr::map(), foreach::foreach(), and plyr::llply() to signal progress updates. By combining this function with R's native pipe operator, you have a straightforward way to report progress on iterative computations with minimal refactoring, e.g. 'lapply(x, fcn) |> progressify()' and 'purrr::map(x, fcn) |> progressify()'. It is compatible with the parallel-processing map-reduce packages 'future.apply', 'furrr', 'crossmap', 'foreach', 'doFuture', and 'futurize'. It also supports domain-specific packages including 'boot', 'car', 'fwb', 'lme4', 'partykit', 'sandwich', 'SimDesign', 'Sim.DiffProc', and 'tm', e.g. 'boot::boot(data, stat, R) |> progressify()'.
Package details |
|
|---|---|
| Author | Henrik Bengtsson [aut, cre, cph] (ORCID: <https://orcid.org/0000-0002-7579-5165>) |
| Maintainer | Henrik Bengtsson <henrikb@braju.com> |
| License | Apache License (>= 2) |
| Version | 0.5.0 |
| URL | https://progressify.futureverse.org https://github.com/futureverse/progressify |
| Package repository | View on CRAN |
| Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.