diff options
author | wen <wen@FreeBSD.org> | 2015-12-16 15:58:08 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2015-12-16 15:58:08 +0800 |
commit | 05bbeb4b63ce12529aedc77ad40226d434bd67c3 (patch) | |
tree | 21082a49e2c75775bdbd21e04163125ff6865898 | |
parent | 37eee526b4f71abaa8557f2a5d301beb6e75cb0d (diff) | |
download | freebsd-ports-gnome-05bbeb4b63ce12529aedc77ad40226d434bd67c3.tar.gz freebsd-ports-gnome-05bbeb4b63ce12529aedc77ad40226d434bd67c3.tar.zst freebsd-ports-gnome-05bbeb4b63ce12529aedc77ad40226d434bd67c3.zip |
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/
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/R-cran-assertthat/Makefile | 16 | ||||
-rw-r--r-- | math/R-cran-assertthat/distinfo | 2 | ||||
-rw-r--r-- | math/R-cran-assertthat/pkg-descr | 6 |
4 files changed, 25 insertions, 0 deletions
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 <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/ |