git: e99d6155ba42 - main - devel/R-cran-testit: New port: Simple Package for Testing R Packages

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 10 Aug 2023 10:51:48 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e99d6155ba4213fee779b7601ef733572c54b531

commit e99d6155ba4213fee779b7601ef733572c54b531
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-08-10 10:18:34 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-08-10 10:50:40 +0000

    devel/R-cran-testit: New port: Simple Package for Testing R Packages
    
    Provides two convenience functions assert() and test_pkg() to facilitate
    testing R packages.
    
    WWW: https://cran.r-project.org/web/packages/testit/
---
 devel/Makefile                |  1 +
 devel/R-cran-testit/Makefile  | 14 ++++++++++++++
 devel/R-cran-testit/distinfo  |  3 +++
 devel/R-cran-testit/pkg-descr |  2 ++
 4 files changed, 20 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index fa883f1ae4a8..9fca971db658 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -123,6 +123,7 @@
     SUBDIR += R-cran-sfsmisc
     SUBDIR += R-cran-sourcetools
     SUBDIR += R-cran-sys
+    SUBDIR += R-cran-testit
     SUBDIR += R-cran-testthat
     SUBDIR += R-cran-tibble
     SUBDIR += R-cran-tidyr
diff --git a/devel/R-cran-testit/Makefile b/devel/R-cran-testit/Makefile
new file mode 100644
index 000000000000..8962ffe8aaed
--- /dev/null
+++ b/devel/R-cran-testit/Makefile
@@ -0,0 +1,14 @@
+PORTNAME=	testit
+DISTVERSION=	0.13
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	eduardo@FreeBSD.org
+COMMENT=	Simple Package for Testing R Packages
+WWW=		https://cran.r-project.org/web/packages/testit/
+
+LICENSE=	GPLv3
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-testit/distinfo b/devel/R-cran-testit/distinfo
new file mode 100644
index 000000000000..bb296ca62a28
--- /dev/null
+++ b/devel/R-cran-testit/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1691660742
+SHA256 (testit_0.13.tar.gz) = 90d47168ab6bdbd1274b600b457626ac07697ce09792c92b2043be5f5b678d80
+SIZE (testit_0.13.tar.gz) = 8493
diff --git a/devel/R-cran-testit/pkg-descr b/devel/R-cran-testit/pkg-descr
new file mode 100644
index 000000000000..d3285cc9bcf9
--- /dev/null
+++ b/devel/R-cran-testit/pkg-descr
@@ -0,0 +1,2 @@
+Provides two convenience functions assert() and test_pkg() to facilitate
+testing R packages.