[r-cran-erm] 12/33: Import Debian patch 0.13-0-2
Andreas Tille
tille at debian.org
Mon Dec 12 11:19:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository r-cran-erm.
commit 8e27e816146983b04ec210926feb92d2ae96ddcf
Author: Julian Gilbey <jdg at debian.org>
Date: Wed Jun 16 07:10:25 2010 +0100
Import Debian patch 0.13-0-2
---
debian/changelog | 6 ++++++
debian/patches/01_plotPWmap-fix-ranges | 25 +++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 32 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index fc0c3bb..792f048 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+erm (0.13-0-2) unstable; urgency=low
+
+ * Ensure only finite ranges are used in plotPWmap
+
+ -- Julian Gilbey <jdg at debian.org> Wed, 16 Jun 2010 07:10:25 +0100
+
erm (0.13-0-1) unstable; urgency=low
* New upstream release
diff --git a/debian/patches/01_plotPWmap-fix-ranges b/debian/patches/01_plotPWmap-fix-ranges
new file mode 100644
index 0000000..25b03c2
--- /dev/null
+++ b/debian/patches/01_plotPWmap-fix-ranges
@@ -0,0 +1,25 @@
+--- a/R/plotPWmap.R
++++ b/R/plotPWmap.R
+@@ -182,18 +182,18 @@
+ ## Now we can plot the Pathway Map
+
+ if (pmap) { ## person map
+- xrange.pmap <- range(pfitZ,na.rm=TRUE)
++ xrange.pmap <- range(pfitZ,finite=TRUE)
+ xrange.pmap[1] <- min(-2.5,xrange.pmap[1])
+ xrange.pmap[2] <- max(2.5,xrange.pmap[2]+1) ## need space for labels
+- yrange.pmap<-range(ploc,na.rm=TRUE)
++ yrange.pmap<-range(ploc,finite=TRUE)
+ yrange.pmap[1]<-yrange.pmap[1]-pci*max(pse)
+ yrange.pmap[2]<-yrange.pmap[2]+pci*max(pse)
+ }
+ if (imap) { ## item map
+- xrange.imap <- range(ifitZ,na.rm=TRUE)
++ xrange.imap <- range(ifitZ,finite=TRUE)
+ xrange.imap[1] <- min(-2.5,xrange.imap[1])
+ xrange.imap[2] <- max(2.5,xrange.imap[2]+1) ## need space for labels
+- yrange.imap<-range(iloc,na.rm=TRUE)
++ yrange.imap<-range(iloc,finite=TRUE)
+ yrange.imap[1]<-yrange.imap[1]-ici*max(ise)
+ yrange.imap[2]<-yrange.imap[2]+ici*max(ise)
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..dbb6c58
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_plotPWmap-fix-ranges
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-erm.git
More information about the debian-science-commits
mailing list