You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,11 +197,11 @@ See the manual for details and other options.
197
197
198
198
##Usage with`purrr` iterators
199
199
200
-
If you prefer to do your iterative tasks using the`purrr` family of functional programming tools, rather than with`for` loops, there are two straightforward ways to add progress bars:
200
+
If you prefer to do your iterative tasks using the`purrr` family of functional programming tools, rather than with`for` loops, there are two straightforward ways to add progress bars:
201
201
202
202
1. Increment the ticks*in-line* when calling the`purrr` iterator.
203
203
204
-
2. Define the task and increment the ticks in a separate wrapper function.
204
+
2. Define the task and increment the ticks in a separate wrapper function.
205
205
206
206
***Option 1*** is concise for simple one-line tasks (*e.g.* requiring only a single function call), while***Option 2*** is probably preferred for more complex multi-line tasks.
207
207
@@ -262,8 +262,8 @@ plyr::l_ply(
262
262
##C++ API
263
263
264
264
The package also provides a C++ API, that can be used with or
265
-
without Rcpp. See[the example package](https://github.com/r-lib/progress/blob/HEAD/tests/testthat/progresstest/src/test.cpp) that
266
-
is[included](https://github.com/r-lib/progress/blob/HEAD/tests/testthat/progresstest) within`progress`. Here is a short excerpt
265
+
without Rcpp. See[the example package](tests/testthat/progresstest/src/test.cpp) that
266
+
is[included](tests/testthat/progresstest) within`progress`. Here is a short excerpt