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/73d9a84291ec
branches:  trunk
changeset: 421041:73d9a84291ec
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Jan 11 06:56:24 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 4019a8eb7ac8 -r 73d9a84291ec devel/R-Runit/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-Runit/DESCR       Sat Jan 11 06:56:24 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 4019a8eb7ac8 -r 73d9a84291ec devel/R-Runit/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-Runit/Makefile    Sat Jan 11 06:56:24 2020 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2020/01/11 06:56:24 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 4019a8eb7ac8 -r 73d9a84291ec devel/R-Runit/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-Runit/PLIST       Sat Jan 11 06:56:24 2020 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/11 06:56:24 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 4019a8eb7ac8 -r 73d9a84291ec devel/R-Runit/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/R-Runit/distinfo    Sat Jan 11 06:56:24 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/11 06:56:24 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