Run of fresh-snapshots for r-cran-progress

Try this locally (using silver-platter):

debian-svp new-upstream --snapshot r-cran-progress 

Merge these changes:

git pull https://janitor.debian.net/git/r-cran-progress fresh-snapshots/main
git pull https://janitor.debian.net/git/r-cran-progress fresh-snapshots/pristine-tar
git pull https://janitor.debian.net/git/r-cran-progress fresh-snapshots/upstream

Summary

Merged new upstream version: 1.2.2+git20210317.1.a0e51d5 (was: 1.2.2).

Diff

Branch: main

diff --git a/DESCRIPTION b/DESCRIPTION
index 1f75b79..984bcaf 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,6 +1,6 @@
 Package: progress
 Title: Terminal Progress Bars
-Version: 1.2.2
+Version: 1.2.2.9000
 Author: Gábor Csárdi [aut, cre], Rich FitzJohn [aut]
 Maintainer: Gábor Csárdi <csardi.gabor@gmail.com>
 Description: Configurable Progress bars, they may include percentage,
@@ -17,6 +17,4 @@ Suggests: Rcpp, testthat, withr
 RoxygenNote: 6.1.0
 Encoding: UTF-8
 NeedsCompilation: no
-Packaged: 2019-05-15 20:28:47 UTC; gaborcsardi
-Repository: CRAN
-Date/Publication: 2019-05-16 21:30:03 UTC
+Packaged: 2021-04-05 06:38:01 UTC; jenkins
diff --git a/MD5 b/MD5
deleted file mode 100644
index 3eb841b..0000000
--- a/MD5
+++ /dev/null
@@ -1,24 +0,0 @@
-95de8e6a629140b89addd188dae1917b *DESCRIPTION
-e8263dfe6dc4ae08dcf8bb32827fa2ab *LICENSE
-451fe80009d43151fe0886ae44115397 *NAMESPACE
-ccc34262fd82bde7dd7984867ea07380 *NEWS.md
-330e47bed5a169f25782b1e0c542417a *R/progress.R
-1b02db14e760d0e9c2bc30f8867495fe *R/utils.R
-92019cf9741443652ebe32543691197a *README.md
-dad205569b44efc743be34fed2f71f8e *inst/include/RProgress.h
-76f1f04c00cae388f24f4ff00636c2ae *man/figures/logo.png
-4a607a53806f2e5afe5a834bcace11eb *man/figures/logo.svg
-584a60c9d8806109dfd7d52dfc7f875a *man/progress_bar.Rd
-95d3bb15732f376a121c2d619708824e *tests/testthat.R
-c309786b4650345d8c91cdb57fe5b974 *tests/testthat/helper.R
-af33800129d8624fb14021937fcd8772 *tests/testthat/progresstest/DESCRIPTION
-8488c7e8cbfc04df9ff69dd011f878da *tests/testthat/progresstest/LICENSE
-3371cd47afc5c5d98fa417ecc159da01 *tests/testthat/progresstest/NAMESPACE
-c2cdf5a1e55a49006429aeb7dd31a594 *tests/testthat/progresstest/R/RcppExports.R
-ae293a874cbe1e425688493db9b3f7e1 *tests/testthat/progresstest/R/test.R
-7c0b75a11963c889f7f87acfd22660c4 *tests/testthat/progresstest/README.md
-b9d306186d80dffa089a9f895d2cf673 *tests/testthat/progresstest/src/RcppExports.cpp
-ef246194c410954cfe185e60803dfbb4 *tests/testthat/progresstest/src/test.cpp
-a3f9288b2ac03c3232e92f397742b55d *tests/testthat/progresstest_1.0.0.tar.gz
-af1a6853152b16ee71cb401d1390fdd4 *tests/testthat/test-cpp.R
-8d79a9c4c01d59c9c405a815df68a6af *tests/testthat/test-progress.R
diff --git a/NEWS.md b/NEWS.md
index fed4fa0..f874744 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,4 +1,6 @@
 
+# dev
+
 # 1.2.2
 
 * Fix two bugs in the C++ API that can potentially cause irregular
diff --git a/README.md b/README.md
index 2afad1c..4909b4c 100644
--- a/README.md
+++ b/README.md
@@ -187,6 +187,40 @@ f()
 
 See the manual for details and other options.
 
+## Usage with `purrr` iterators
+
+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: 
+
+1. Increment the ticks *in-line* when calling the `purrr` iterator.
+
+2. Define the task and increment the ticks in a separate wrapper function. 
+
+***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.
+
+```r
+# Option 1
+pb <- progress_bar$new(total = 100)
+purrr::walk(1:100, ~{pb$tick(); Sys.sleep(0.1)})
+```
+```
+[================================================>------]  89%
+```
+
+```r
+# Option 2
+pb <- progress_bar$new(total = 100)
+
+foo <- function(x){
+  pb$tick()
+  Sys.sleep(0.1)
+}
+
+purrr::walk(1:100, foo)
+```
+```
+[==================>------------------------------------]  34%
+```
+
 ## Creating a plyr compatible progress bar
 
 It is easy to create progress bars for
@@ -220,8 +254,8 @@ plyr::l_ply(
 ## C++ API
 
 The package also provides a C++ API, that can be used with or
-without Rcpp. See [the example package](inst/progresstest/src/test.cpp) that
-is [included](inst/progresstest) within `progress`. Here is a short excerpt
+without Rcpp. See [the example package](https://github.com/r-lib/progress/blob/HEAD/tests/testthat/progresstest/src/test.cpp) that
+is [included](https://github.com/r-lib/progress/blob/HEAD/tests/testthat/progresstest) within `progress`. Here is a short excerpt
 that shows how it works:
 
 ```CPP
diff --git a/debian/changelog b/debian/changelog
index 92e9101..8e0a255 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,6 @@
+r-cran-progress (1.2.2+git20210317.1.a0e51d5-1) UNRELEASED; urgency=low
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 05 Apr 2021 06:38:39 -0000
+
 r-cran-progress (1.2.2-2) unstable; urgency=medium
 
   * Standards-Version: 4.5.0 (routine-update)

Branch: pristine-tar

diff --git a/r-cran-progress_1.2.2+git20210317.1.a0e51d5.orig.tar.gz.delta b/r-cran-progress_1.2.2+git20210317.1.a0e51d5.orig.tar.gz.delta
new file mode 100644
index 0000000..4f975c1
Binary files /dev/null and b/r-cran-progress_1.2.2+git20210317.1.a0e51d5.orig.tar.gz.delta differ
diff --git a/r-cran-progress_1.2.2+git20210317.1.a0e51d5.orig.tar.gz.id b/r-cran-progress_1.2.2+git20210317.1.a0e51d5.orig.tar.gz.id
new file mode 100644
index 0000000..f1a5828
--- /dev/null
+++ b/r-cran-progress_1.2.2+git20210317.1.a0e51d5.orig.tar.gz.id
@@ -0,0 +1 @@
+cb10e4f31fd6baced53d6d32abad1f417ca094d4

Branch: upstream

Tag: upstream/1.2.2+git20210317.1.a0e51d5
Unable to retrieve diff; error 500

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots r-cran-progress

Lintian Result

Full worker log Full build log Full dist log