[med-svn] [r-cran-tidyr] 02/03: Fix autopkgtests: use dplyr::select and dplyr::arrange
Graham Inggs
ginggs at moszumanska.debian.org
Fri Nov 24 15:31:23 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-tidyr.
commit 405da825959e9a398b6351af8d7ce22adc3989c3
Author: Graham Inggs <ginggs at debian.org>
Date: Fri Nov 24 17:25:33 2017 +0200
Fix autopkgtests: use dplyr::select and dplyr::arrange
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/use_dplyr_select_and_arrange.patch | 14 ++++++++++++++
3 files changed, 16 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 0fa999a..66bd31a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
r-cran-tidyr (0.7.1-2) UNRELEASED; urgency=medium
* Fix autopkgtests: create test tibbles with tibble()
+ use dplyr::select and dplyr::arrange
-- Graham Inggs <ginggs at debian.org> Fri, 24 Nov 2017 15:21:35 +0000
diff --git a/debian/patches/series b/debian/patches/series
index 4d8c083..bb7419f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
create_tibbles_with_tibble.patch
+use_dplyr_select_and_arrange.patch
diff --git a/debian/patches/use_dplyr_select_and_arrange.patch b/debian/patches/use_dplyr_select_and_arrange.patch
new file mode 100644
index 0000000..4367282
--- /dev/null
+++ b/debian/patches/use_dplyr_select_and_arrange.patch
@@ -0,0 +1,14 @@
+Description: Use dplyr::select and dplyr::arrange
+Author: Graham Inggs <ginggs at debian.org>
+Last-Update: 2017-11-24
+--- a/tests/testthat/test-underscored.R
++++ b/tests/testthat/test-underscored.R
+@@ -95,7 +95,7 @@
+ df1 <- data.frame(x = c("a", "b"), y = 1:2)
+ df2 <- data.frame(x = c("b", "a"), y = 2:1)
+ one <- spread_(df1, "x", ~y)
+- two <- spread_(df2, "x", ~y) %>% select(a, b) %>% arrange(a, b)
++ two <- spread_(df2, "x", ~y) %>% dplyr::select(a, b) %>% dplyr::arrange(a, b)
+ expect_identical(one, two)
+ })
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-tidyr.git
More information about the debian-med-commit
mailing list