pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/R-RUnit devel/R-RUnit: import R-RUnit-0.4.32



details:   https://anonhg.NetBSD.org/pkgsrc/rev/50625da1e25c
branches:  trunk
changeset: 407879:50625da1e25c
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Jan 11 07:05:15 2020 +0000

description:
devel/R-RUnit: import R-RUnit-0.4.32

# RUnit

Runit is a testing package for R code, inspired by the xUnit family of testing
tools.

Originally implemented by Thomas Koenig, Klaus Juenemann, and Matthias Burger,
this package has served the R community for over a decade.

Since RUnit is no longer actively developed, I provide maintenance of this
package mostly to support older projects that still rely on RUnit.

# Using RUnit

To make RUnit work with `R CMD check`, create a following file in the `tests`
subdirectory. This would run the actual tests stored in the packages
`inst/tests` subdirectory.

diffstat:

 devel/R-RUnit/DESCR    |  16 ++++++++++++++++
 devel/R-RUnit/Makefile |  19 +++++++++++++++++++
 devel/R-RUnit/PLIST    |   4 ++++
 devel/R-RUnit/distinfo |   6 ++++++
 4 files changed, 45 insertions(+), 0 deletions(-)

diffs (61 lines):

diff -r d1dc5ea50811 -r 50625da1e25c devel/R-RUnit/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-RUnit/DESCR       Sat Jan 11 07:05:15 2020 +0000
@@ -0,0 +1,16 @@
+# RUnit
+
+Runit is a testing package for R code, inspired by the xUnit family of testing
+tools.
+
+Originally implemented by Thomas Koenig, Klaus Juenemann, and Matthias Burger,
+this package has served the R community for over a decade.
+
+Since RUnit is no longer actively developed, I provide maintenance of this
+package mostly to support older projects that still rely on RUnit.
+
+# Using RUnit
+
+To make RUnit work with `R CMD check`, create a following file in the `tests`
+subdirectory. This would run the actual tests stored in the packages
+`inst/tests` subdirectory.
diff -r d1dc5ea50811 -r 50625da1e25c devel/R-RUnit/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-RUnit/Makefile    Sat Jan 11 07:05:15 2020 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2020/01/11 07:05:15 mef Exp $
+
+DISTNAME=      RUnit_0.4.32
+CATEGORIES=    devel
+MASTER_SITES=  https://cran.rstudio.com/src/contrib/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://cran.rstudio.com/web/packages/RUnit/index.html
+COMMENT=       R functions implementing a standard Unit Testing framework
+
+LICENSE=       gnu-gpl-v2
+
+TEST_DEPENDS+= R-XML-[0-9]*:../../math/R-XML
+
+#WRKSRC=               ${WRKDIR}/RUnit
+USE_LANGUAGES= # none
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff -r d1dc5ea50811 -r 50625da1e25c devel/R-RUnit/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-RUnit/PLIST       Sat Jan 11 07:05:15 2020 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/11 07:05:15 mef Exp $
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff -r d1dc5ea50811 -r 50625da1e25c devel/R-RUnit/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-RUnit/distinfo    Sat Jan 11 07:05:15 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/11 07:05:15 mef Exp $
+
+SHA1 (R/RUnit_0.4.32.tar.gz) = b1a65336fa3aa45a4cbd1a19979532ec07bf428a
+RMD160 (R/RUnit_0.4.32.tar.gz) = 71a21232479fa2ad8c3fab30364a8a906f0e53d0
+SHA512 (R/RUnit_0.4.32.tar.gz) = 5df78b0b653cb122e8edd23fc95e00966c5e54ee5db081efb216e88847d8e292fb69af27932a35f5d51ebaf3a162128fd4a604b8d1e2dc8dfb6a8a72345432e7
+Size (R/RUnit_0.4.32.tar.gz) = 337142 bytes



Home | Main Index | Thread Index | Old Index