[med-svn] [r-cran-tidyr] 05/06: Adapt patches
Andreas Tille
tille at debian.org
Tue Dec 12 22:39:58 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository r-cran-tidyr.
commit 492ec229d58adb8bbab08ad21d8e677498489c01
Author: Andreas Tille <tille at debian.org>
Date: Tue Dec 12 23:31:14 2017 +0100
Adapt patches
---
debian/patches/use_dplyr_select_and_arrange.patch | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/patches/use_dplyr_select_and_arrange.patch b/debian/patches/use_dplyr_select_and_arrange.patch
index 4367282..f4215c4 100644
--- a/debian/patches/use_dplyr_select_and_arrange.patch
+++ b/debian/patches/use_dplyr_select_and_arrange.patch
@@ -3,12 +3,12 @@ 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 @@
+@@ -107,7 +107,7 @@ test_that("spread_()", {
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)
+ 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