[med-svn] r21813 - in trunk/packages/R/r-cran-dplyr/trunk/debian: . tests

Andreas Tille tille at moszumanska.debian.org
Fri Apr 29 07:39:00 UTC 2016


Author: tille
Date: 2016-04-29 07:38:59 +0000 (Fri, 29 Apr 2016)
New Revision: 21813

Modified:
   trunk/packages/R/r-cran-dplyr/trunk/debian/changelog
   trunk/packages/R/r-cran-dplyr/trunk/debian/control
   trunk/packages/R/r-cran-dplyr/trunk/debian/tests/run-unit-test
Log:
Exclude tests needing r-cran-lahman which is not packaged yet


Modified: trunk/packages/R/r-cran-dplyr/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-dplyr/trunk/debian/changelog	2016-04-29 07:16:06 UTC (rev 21812)
+++ trunk/packages/R/r-cran-dplyr/trunk/debian/changelog	2016-04-29 07:38:59 UTC (rev 21813)
@@ -1,3 +1,9 @@
+r-cran-dplyr (0.4.3-4) unstable; urgency=medium
+
+  * Exclude tests needing r-cran-lahman which is not packaged yet
+
+ -- Andreas Tille <tille at debian.org>  Fri, 29 Apr 2016 09:30:36 +0200
+
 r-cran-dplyr (0.4.3-3) unstable; urgency=medium
 
   * Add missing depends: r-cran-rcpp

Modified: trunk/packages/R/r-cran-dplyr/trunk/debian/control
===================================================================
--- trunk/packages/R/r-cran-dplyr/trunk/debian/control	2016-04-29 07:16:06 UTC (rev 21812)
+++ trunk/packages/R/r-cran-dplyr/trunk/debian/control	2016-04-29 07:38:59 UTC (rev 21813)
@@ -29,6 +29,7 @@
          r-cran-lazyeval,
          r-cran-assertthat,
          r-cran-r6
+Suggests: r-cran-lahman
 Description: GNU R grammar of data manipulation
  This GNU R package provides a fast, consistent tool for working with
  data frame like objects, both in memory and out of memory.

Modified: trunk/packages/R/r-cran-dplyr/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-dplyr/trunk/debian/tests/run-unit-test	2016-04-29 07:16:06 UTC (rev 21812)
+++ trunk/packages/R/r-cran-dplyr/trunk/debian/tests/run-unit-test	2016-04-29 07:38:59 UTC (rev 21813)
@@ -8,5 +8,13 @@
 fi
 cd $ADTTMP
 cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
+find . -name "*.gz" -exec gunzip \{\} \;
+# There is no package r-cran-lahman available yet
+for testfile in testthat/* ; do
+    if grep -q lahman $testfile ; then
+        rm $testfile
+    fi
+done
+sed -i '/[Ll]ahman/d' testthat.R
 LC_ALL=C R --no-save < testthat.R
 rm -fr $ADTTMP/*




More information about the debian-med-commit mailing list