diff options
author | TAKATSU Tomonari <tota@FreeBSD.org> | 2021-09-08 10:19:10 +0000 |
---|---|---|
committer | TAKATSU Tomonari <tota@FreeBSD.org> | 2021-09-08 11:43:38 +0000 |
commit | 65a797cefa27c21db29be80f05531b54d37e1935 (patch) | |
tree | fdfdda881767e3bce4bdf67e76bab8ce948aa70f | |
parent | 7fd0023f9b13434f0df4b4c1727c2648bece2cf4 (diff) | |
download | ports-65a797cefa27c21db29be80f05531b54d37e1935.tar.gz ports-65a797cefa27c21db29be80f05531b54d37e1935.zip |
devel/R-cran-listenv: Add new port
List environments are environments that have list-like properties.
For instance, the elements of a list environment are ordered and
can be accessed and iterated over using index subsetting,
e.g.
'x <- listenv(a = 1, b = 2);
for (i in seq_along(x)) x[[i]] <- x[[i]] ^ 2;
y <- as.list(x)'.
WWW: https://cran.r-project.org/web/packages/listenv/
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/R-cran-listenv/Makefile | 13 | ||||
-rw-r--r-- | devel/R-cran-listenv/distinfo | 3 | ||||
-rw-r--r-- | devel/R-cran-listenv/pkg-descr | 9 |
4 files changed, 26 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 2fbec2144681..dac7d0b7558e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -60,6 +60,7 @@ SUBDIR += R-cran-itertools SUBDIR += R-cran-later SUBDIR += R-cran-lifecycle + SUBDIR += R-cran-listenv SUBDIR += R-cran-lubridate SUBDIR += R-cran-magrittr SUBDIR += R-cran-memoise diff --git a/devel/R-cran-listenv/Makefile b/devel/R-cran-listenv/Makefile new file mode 100644 index 000000000000..7b51fa563169 --- /dev/null +++ b/devel/R-cran-listenv/Makefile @@ -0,0 +1,13 @@ +PORTNAME= listenv +PORTVERSION= 0.8.0 +CATEGORIES= devel +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= tota@FreeBSD.org +COMMENT= Environments Behaving (Almost) as Lists + +LICENSE= LGPL21+ + +USES= cran:auto-plist + +.include <bsd.port.mk> diff --git a/devel/R-cran-listenv/distinfo b/devel/R-cran-listenv/distinfo new file mode 100644 index 000000000000..9a20e7d54f48 --- /dev/null +++ b/devel/R-cran-listenv/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1631095901 +SHA256 (listenv_0.8.0.tar.gz) = fd2aaf3ff2d8d546ce33d1cb38e68401613975117c1f9eb98a7b41facf5c485f +SIZE (listenv_0.8.0.tar.gz) = 36762 diff --git a/devel/R-cran-listenv/pkg-descr b/devel/R-cran-listenv/pkg-descr new file mode 100644 index 000000000000..c3ae22e96883 --- /dev/null +++ b/devel/R-cran-listenv/pkg-descr @@ -0,0 +1,9 @@ +List environments are environments that have list-like properties. +For instance, the elements of a list environment are ordered and +can be accessed and iterated over using index subsetting, + e.g. + 'x <- listenv(a = 1, b = 2); + for (i in seq_along(x)) x[[i]] <- x[[i]] ^ 2; + y <- as.list(x)'. + +WWW: https://cran.r-project.org/web/packages/listenv/ |