Skip to content

Commit

Permalink
devel/R-cran-listenv: Add new port
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
tota committed Sep 8, 2021
1 parent 7fd0023 commit 65a797c
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
9 changes: 9 additions & 0 deletions 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/

0 comments on commit 65a797c

Please sign in to comment.