pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

R-progressr: import R-progressr-0.11.0 as wip/R-progressr



Module Name:	pkgsrc-wip
Committed By:	Brook Milligan <brook%nmsu.edu@localhost>
Pushed By:	brook
Date:		Fri Dec 1 13:20:54 2023 -0700
Changeset:	ca354a0ab5bcada86af89318d129f59bec11d6e3

Modified Files:
	Makefile
Added Files:
	R-progressr/DESCR
	R-progressr/Makefile
	R-progressr/distinfo

Log Message:
R-progressr: import R-progressr-0.11.0 as wip/R-progressr

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 beepr::beep(), 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 API:s 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::future_map(), and 'foreach' with
'doFuture'. The package is compatible with Shiny applications.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ca354a0ab5bcada86af89318d129f59bec11d6e3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |  1 +
 R-progressr/DESCR    | 18 ++++++++++++++++++
 R-progressr/Makefile | 16 ++++++++++++++++
 R-progressr/distinfo |  5 +++++
 4 files changed, 40 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 5f025cdd48..6d5ad6bad1 100644
--- a/Makefile
+++ b/Makefile
@@ -69,6 +69,7 @@ SUBDIR+=	R-npsurv
 SUBDIR+=	R-oai
 SUBDIR+=	R-optparse
 SUBDIR+=	R-parallelly
+SUBDIR+=	R-progressr
 SUBDIR+=	R-rgbif
 SUBDIR+=	R-signal
 SUBDIR+=	R-slippymath
diff --git a/R-progressr/DESCR b/R-progressr/DESCR
new file mode 100644
index 0000000000..f0563c9fca
--- /dev/null
+++ b/R-progressr/DESCR
@@ -0,0 +1,18 @@
+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 beepr::beep(), 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 API:s 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::future_map(), and 'foreach' with
+'doFuture'. The package is compatible with Shiny applications.
diff --git a/R-progressr/Makefile b/R-progressr/Makefile
new file mode 100644
index 0000000000..b5fa481017
--- /dev/null
+++ b/R-progressr/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+R_PKGNAME=	progressr
+R_PKGVER=	0.11.0
+CATEGORIES=	wip
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+COMMENT=	An inclusive, unifying API for progress updates
+LICENSE=	gnu-gpl-v3
+
+DEPENDS+=	R-digest>=0.6.29:../../security/R-digest
+
+USE_LANGUAGES=	# none
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/R-progressr/distinfo b/R-progressr/distinfo
new file mode 100644
index 0000000000..8f5d76dfc9
--- /dev/null
+++ b/R-progressr/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (R/progressr_0.11.0.tar.gz) = 977f877ca185aa913a59d45c57d9d8fcb8473efe5c8754febab78e22b7d60d5d
+SHA512 (R/progressr_0.11.0.tar.gz) = e5278cf46ee061fdaeba47c6866ea30df7eadaa65498e8eb2b44e5ae708708935a0891f717de1c220dcc2d435035dd452496afb0102d72fca9bd560a7116691b
+Size (R/progressr_0.11.0.tar.gz) = 112113 bytes


Home | Main Index | Thread Index | Old Index