pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/R-foreach (devel/R-foreach) import R-foreach-1.5.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/191f54cef86c
branches:  trunk
changeset: 390211:191f54cef86c
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Dec 18 02:10:59 2022 +0000

description:
(devel/R-foreach) import R-foreach-1.5.2

Support for the foreach looping construct.  Foreach is an idiom that
allows for iterating over elements in a collection, without the use of
an explicit loop counter.  This package in particular is intended to
be used for its return value, rather than for its side effects.  In
that sense, it is similar to the standard lapply function, but doesn't
require the evaluation of a function.  Using foreach without side
effects also facilitates executing the loop in parallel.

diffstat:

 devel/R-foreach/DESCR    |   7 +++++++
 devel/R-foreach/Makefile |  16 ++++++++++++++++
 devel/R-foreach/distinfo |   5 +++++
 3 files changed, 28 insertions(+), 0 deletions(-)

diffs (40 lines):

diff -r 3275c330d094 -r 191f54cef86c devel/R-foreach/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-foreach/DESCR     Sun Dec 18 02:10:59 2022 +0000
@@ -0,0 +1,7 @@
+Support for the foreach looping construct.  Foreach is an idiom that
+allows for iterating over elements in a collection, without the use of
+an explicit loop counter.  This package in particular is intended to
+be used for its return value, rather than for its side effects.  In
+that sense, it is similar to the standard lapply function, but doesn't
+require the evaluation of a function.  Using foreach without side
+effects also facilitates executing the loop in parallel.
diff -r 3275c330d094 -r 191f54cef86c devel/R-foreach/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-foreach/Makefile  Sun Dec 18 02:10:59 2022 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2022/12/18 02:10:59 mef Exp $
+
+R_PKGNAME=     foreach
+R_PKGVER=      1.5.2
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Provides Foreach Looping Construct
+LICENSE=       apache-2.0
+
+DEPENDS+=      R-iterators>=1.0.14:../../devel/R-iterators
+
+USE_LANGUAGES= # none
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff -r 3275c330d094 -r 191f54cef86c devel/R-foreach/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-foreach/distinfo  Sun Dec 18 02:10:59 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/12/18 02:10:59 mef Exp $
+
+BLAKE2s (R/foreach_1.5.2.tar.gz) = ce589f90b01917068eef509293c8ade6a73ad2459b38b955a89248b3e4786666
+SHA512 (R/foreach_1.5.2.tar.gz) = 27d7a54c0441d28dd8317435d3fbb37b13e0e5d6f9876839a88f7a67fd8f1f815b6ab102f8a91e5671d95856e3c8501bf4d3743d5dec04771d3791e907906690
+Size (R/foreach_1.5.2.tar.gz) = 89758 bytes



Home | Main Index | Thread Index | Old Index