summaryrefslogtreecommitdiff
path: root/math/R-cran-assertthat
diff options
context:
space:
mode:
Diffstat (limited to 'math/R-cran-assertthat')
-rw-r--r--math/R-cran-assertthat/Makefile16
-rw-r--r--math/R-cran-assertthat/distinfo2
-rw-r--r--math/R-cran-assertthat/pkg-descr6
3 files changed, 24 insertions, 0 deletions
diff --git a/math/R-cran-assertthat/Makefile b/math/R-cran-assertthat/Makefile
new file mode 100644
index 000000000000..569b909dcb32
--- /dev/null
+++ b/math/R-cran-assertthat/Makefile
@@ -0,0 +1,16 @@
+# Created by: Wen Heping <wen@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= assertthat
+DISTVERSION= 0.1
+CATEGORIES= math
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= Easy pre and post assertions
+
+LICENSE= GPLv3
+
+USES= cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-assertthat/distinfo b/math/R-cran-assertthat/distinfo
new file mode 100644
index 000000000000..b056da52f3e6
--- /dev/null
+++ b/math/R-cran-assertthat/distinfo
@@ -0,0 +1,2 @@
+SHA256 (assertthat_0.1.tar.gz) = 1363645a9a128f615aa0641dc5f5c5abd960b1c38320492366dad1e7a5c29a37
+SIZE (assertthat_0.1.tar.gz) = 10187
diff --git a/math/R-cran-assertthat/pkg-descr b/math/R-cran-assertthat/pkg-descr
new file mode 100644
index 000000000000..060f8ff05479
--- /dev/null
+++ b/math/R-cran-assertthat/pkg-descr
@@ -0,0 +1,6 @@
+assertthat is an extension to stopifnot() that makes it easy to
+declare the pre and post conditions that you code should satisfy,
+while also producing friendly error messages so that your users
+know what they've done wrong.
+
+WWW: https://cran.r-project.org/web/packages/assertthat/