[med-svn] [r-cran-dplyr] 01/02: Skip failing UTF-8 tests

Graham Inggs ginggs at moszumanska.debian.org
Thu Nov 9 13:11:28 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-dplyr.

commit 2897eb92fe6cc204a3c7a5da1b718601438f42dc
Author: Graham Inggs <ginggs at debian.org>
Date:   Thu Nov 9 14:56:00 2017 +0200

    Skip failing UTF-8 tests
---
 debian/changelog                     |  1 +
 debian/patches/series                |  1 +
 debian/patches/skip-utf8-tests.patch | 26 ++++++++++++++++++++++++++
 3 files changed, 28 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7612cd9..1a05393 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ r-cran-dplyr (0.7.4-2) UNRELEASED; urgency=medium
 
   * Update Build-Depends
   * Add test Depends: r-cran-withr, r-cran-hms, r-cran-bit64
+  * Skip failing UTF-8 tests
 
  -- Graham Inggs <ginggs at debian.org>  Sun, 01 Oct 2017 16:24:33 +0000
 
diff --git a/debian/patches/series b/debian/patches/series
index 450a5f3..17c38f6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 use_debian_packages_boost.patch
+skip-utf8-tests.patch
diff --git a/debian/patches/skip-utf8-tests.patch b/debian/patches/skip-utf8-tests.patch
new file mode 100644
index 0000000..781806b
--- /dev/null
+++ b/debian/patches/skip-utf8-tests.patch
@@ -0,0 +1,26 @@
+Description: Skip failing UTF-8 tests
+Forwarded: no
+Author: Graham Inggs <ginggs at debian.org>
+Last-Update: 2017-11-09
+--- a/tests/testthat/test-select.r
++++ b/tests/testthat/test-select.r
+@@ -206,7 +206,7 @@
+ })
+ 
+ test_that("rename() to UTF-8 column names", {
+-  skip_on_os("windows") # needs an rlang update? #3049
++  skip("Skip UTF-8 tests")
+   df <- data_frame(a = 1) %>% rename("\u5e78" := a)
+ 
+   expect_equal(colnames(df), "\u5e78")
+--- a/tests/testthat/test-mutate.r
++++ b/tests/testthat/test-mutate.r
+@@ -458,7 +458,7 @@
+ })
+ 
+ test_that("no utf8 invasion (#722)", {
+-  skip_on_os("windows")
++  skip("Skip UTF-8 tests")
+ 
+   source("utf-8.R", local = TRUE, encoding = "UTF-8")
+ })

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



More information about the debian-med-commit mailing list