File tree Expand file tree Collapse file tree 3 files changed +26
-10
lines changed
Expand file tree Collapse file tree 3 files changed +26
-10
lines changed Original file line number Diff line number Diff line change 22* ~
33** /* ~
44.local
5+ inst /doc
Original file line number Diff line number Diff line change @@ -7,20 +7,23 @@ Authors@R: c(
77 email = "henrikb@braju.com"))
88License: GPL (>= 3)
99Imports:
10- digest
10+ digest
1111Suggests:
12- utils,
13- tcltk,
14- beepr,
15- notifier,
16- pbmcapply,
17- plyr,
18- progress,
19- future.apply,
20- doFuture
12+ utils,
13+ tcltk,
14+ beepr,
15+ notifier,
16+ pbmcapply,
17+ plyr,
18+ progress,
19+ ## For testing purposes:
20+ doFuture,
21+ future.apply,
22+ furrr
2123Remotes:
2224 gaborcsardi/notifier@d92b1b6
2325URL: https://github.com/HenrikBengtsson/progressr
2426BugReports: https://github.com/HenrikBengtsson/progressr/issues
2527RoxygenNote: 6.1.1
2628Roxygen: list(markdown = TRUE)
29+
Original file line number Diff line number Diff line change 1+ library(progressr )
2+ options(progressr.interval = 0.0 , progressr.delay = 0.01 )
3+
4+ if (requireNamespace(" furrr" , quietly = TRUE )) {
5+ with_progress({
6+ p <- progressor(10 )
7+ y <- furrr :: future_map(1 : 10 , function (x ) {
8+ p()
9+ slow_sum(x , stdout = TRUE , message = TRUE )
10+ })
11+ })
12+ }
You can’t perform that action at this time.
0 commit comments