diff options
author | mef <mef@pkgsrc.org> | 2020-01-11 06:56:24 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2020-01-11 06:56:24 +0000 |
commit | 70bd007674e3314d13189ccb95939b43e7ee307a (patch) | |
tree | 549300dc361df513aabbf6b2731cb3256a7c9799 | |
parent | a6b98b8fac6eca3e3ef34b125994b5740f5f5669 (diff) | |
download | pkgsrc-70bd007674e3314d13189ccb95939b43e7ee307a.tar.gz |
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.
-rw-r--r-- | devel/R-Runit/DESCR | 16 | ||||
-rw-r--r-- | devel/R-Runit/Makefile | 19 | ||||
-rw-r--r-- | devel/R-Runit/PLIST | 4 | ||||
-rw-r--r-- | devel/R-Runit/distinfo | 6 |
4 files changed, 45 insertions, 0 deletions
diff --git a/devel/R-Runit/DESCR b/devel/R-Runit/DESCR new file mode 100644 index 00000000000..ae4e9199709 --- /dev/null +++ b/devel/R-Runit/DESCR @@ -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 --git a/devel/R-Runit/Makefile b/devel/R-Runit/Makefile new file mode 100644 index 00000000000..f5f4d15312f --- /dev/null +++ b/devel/R-Runit/Makefile @@ -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 +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 --git a/devel/R-Runit/PLIST b/devel/R-Runit/PLIST new file mode 100644 index 00000000000..6bb2b6b9e37 --- /dev/null +++ b/devel/R-Runit/PLIST @@ -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 --git a/devel/R-Runit/distinfo b/devel/R-Runit/distinfo new file mode 100644 index 00000000000..cfcaa6bc546 --- /dev/null +++ b/devel/R-Runit/distinfo @@ -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 |