diff --git a/math/Makefile b/math/Makefile index a1c33c71c692..be865eab9fd2 100644 --- a/math/Makefile +++ b/math/Makefile @@ -23,6 +23,7 @@ SUBDIR += R-cran-SuppDists SUBDIR += R-cran-VGAM SUBDIR += R-cran-Zelig + SUBDIR += R-cran-assertthat SUBDIR += R-cran-bdsmatrix SUBDIR += R-cran-car SUBDIR += R-cran-coda 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 +# $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 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/