[med-svn] [r-cran-tibble] 01/01: Enable withr now that it is available

Graham Inggs ginggs at moszumanska.debian.org
Fri Nov 17 11:16:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

ginggs pushed a commit to branch master
in repository r-cran-tibble.

commit 7f0a0ec3a856df1f8e656fbf2249601a1a9e014e
Author: Graham Inggs <ginggs at debian.org>
Date:   Fri Nov 17 13:15:49 2017 +0200

    Enable withr now that it is available
---
 debian/changelog           | 2 ++
 debian/tests/control       | 2 +-
 debian/tests/run-unit-test | 7 -------
 3 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e30b6d5..d242127 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 r-cran-tibble (1.3.4-2) UNRELEASED; urgency=medium
 
   * Add test Depends: r-cran-dplyr
+                      r-cran-withr
+  * Enable withr now that it is available
 
  -- Graham Inggs <ginggs at debian.org>  Wed, 15 Nov 2017 09:26:59 +0000
 
diff --git a/debian/tests/control b/debian/tests/control
index c644a64..0aad037 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
 Tests: run-unit-test
-Depends: @, r-cran-testthat, r-cran-data.table, r-cran-rsqlite, r-cran-knitr, r-cran-dplyr
+Depends: @, r-cran-testthat, r-cran-data.table, r-cran-rsqlite, r-cran-knitr, r-cran-dplyr, r-cran-withr
 Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 9d87e05..41e120a 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -9,12 +9,5 @@ fi
 cd $ADTTMP
 cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
 find . -name "*.gz" -exec gunzip \{\} \;
-# There is no package r-cran-withr available yet
-for testfile in testthat/* ; do
-    if grep -q withr $testfile ; then
-        rm $testfile
-    fi
-done
-sed -i '/withr/d' testthat.R
 LC_ALL=C.UTF-8 R --no-save < testthat.R
 rm -fr $ADTTMP/*

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-tibble.git



More information about the debian-med-commit mailing list