[med-svn] [r-cran-filehash] 01/01: Adjust reg-tests for change in summary.default() rounding
Graham Inggs
ginggs at moszumanska.debian.org
Fri Oct 13 12:41:37 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-filehash.
commit 7b314686eb666102ec72e5dba2a70a53f8a37b32
Author: Graham Inggs <ginggs at debian.org>
Date: Fri Oct 13 13:59:03 2017 +0200
Adjust reg-tests for change in summary.default() rounding
---
debian/changelog | 7 +++
debian/patches/r-3.4.0.patch | 103 +++++++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 111 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 15a5b12..db42ef9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+r-cran-filehash (2.4-1-2) unstable; urgency=medium
+
+ * Team upload
+ * Adjust reg-tests for change in summary.default() rounding
+
+ -- Graham Inggs <ginggs at debian.org> Fri, 13 Oct 2017 11:00:45 +0000
+
r-cran-filehash (2.4-1-1) unstable; urgency=medium
* New upstream version
diff --git a/debian/patches/r-3.4.0.patch b/debian/patches/r-3.4.0.patch
new file mode 100644
index 0000000..0d2093c
--- /dev/null
+++ b/debian/patches/r-3.4.0.patch
@@ -0,0 +1,103 @@
+Description: Adjust reg-tests for change in summary.default() rounding
+Forwarded: https://github.com/rdpeng/filehash/pull/11
+Author: Graham Inggs <ginggs at debian.org>
+Last-Update: 2017-05-11
+--- a/tests/reg-tests.R
++++ b/tests/reg-tests.R
+@@ -102,16 +102,16 @@
+ db$b <- runif(1000)
+
+ dbLoad(db) ## 'a', 'b'
+-summary(a)
+-summary(b)
++summary(a, digits = 4)
++summary(b, digits = 4)
+
+ rm(list = ls())
+ db <- dbInit("testLoadingDB", "DB1")
+
+ dbLazyLoad(db)
+
+-summary(a)
+-summary(b)
++summary(a, digits = 4)
++summary(b, digits = 4)
+
+
+
+@@ -135,8 +135,8 @@
+ dbInsert(db, "c", runif(1000))
+ dbInsert(db, "c", runif(1000))
+
+-summary(db$b)
+-summary(db$c)
++summary(db$b, digits = 4)
++summary(db$c, digits = 4)
+
+ print(file.info(db at datafile)$size)
+
+@@ -146,8 +146,8 @@
+
+ print(file.info(db at datafile)$size)
+
+-summary(db$b)
+-summary(db$c)
++summary(db$b, digits = 4)
++summary(db$c, digits = 4)
+
+
+ ################################################################################
+--- a/tests/reg-tests.Rout.save
++++ b/tests/reg-tests.Rout.save
+@@ -191,10 +191,10 @@
+ > db$b <- runif(1000)
+ >
+ > dbLoad(db) ## 'a', 'b'
+-> summary(a)
++> summary(a, digits = 4)
+ Min. 1st Qu. Median Mean 3rd Qu. Max.
+ -3.036000 -0.642100 0.172000 0.004131 0.614100 2.107000
+-> summary(b)
++> summary(b, digits = 4)
+ Min. 1st Qu. Median Mean 3rd Qu. Max.
+ 0.004583 0.229900 0.478600 0.482200 0.729200 0.999800
+ >
+@@ -203,10 +203,10 @@
+ >
+ > dbLazyLoad(db)
+ >
+-> summary(a)
++> summary(a, digits = 4)
+ Min. 1st Qu. Median Mean 3rd Qu. Max.
+ -3.036000 -0.642100 0.172000 0.004131 0.614100 2.107000
+-> summary(b)
++> summary(b, digits = 4)
+ Min. 1st Qu. Median Mean 3rd Qu. Max.
+ 0.004583 0.229900 0.478600 0.482200 0.729200 0.999800
+ >
+@@ -233,10 +233,10 @@
+ > dbInsert(db, "c", runif(1000))
+ > dbInsert(db, "c", runif(1000))
+ >
+-> summary(db$b)
++> summary(db$b, digits = 4)
+ Min. 1st Qu. Median Mean 3rd Qu. Max.
+ -2.76800 -0.65520 -0.06100 -0.01269 0.65240 3.73900
+-> summary(db$c)
++> summary(db$c, digits = 4)
+ Min. 1st Qu. Median Mean 3rd Qu. Max.
+ 0.0002346 0.2416000 0.4813000 0.4938000 0.7492000 0.9992000
+ >
+@@ -253,10 +253,10 @@
+ > print(file.info(db at datafile)$size)
+ [1] 16245
+ >
+-> summary(db$b)
++> summary(db$b, digits = 4)
+ Min. 1st Qu. Median Mean 3rd Qu. Max.
+ -2.76800 -0.65520 -0.06100 -0.01269 0.65240 3.73900
+-> summary(db$c)
++> summary(db$c, digits = 4)
+ Min. 1st Qu. Median Mean 3rd Qu. Max.
+ 0.0002346 0.2416000 0.4813000 0.4938000 0.7492000 0.9992000
+ >
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bfedfd9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+r-3.4.0.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-filehash.git
More information about the debian-med-commit
mailing list