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/
This commit is contained in:
Wen Heping 2015-12-16 07:58:08 +00:00
parent 1c074a38f0
commit 4bd1278c4e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403846
4 changed files with 25 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (assertthat_0.1.tar.gz) = 1363645a9a128f615aa0641dc5f5c5abd960b1c38320492366dad1e7a5c29a37
SIZE (assertthat_0.1.tar.gz) = 10187

View File

@ -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/