Browse code

Commit made by the Bioconductor Git-SVN bridge.

Commit id: 2484901a46377834f43aafe3e79326741b42deae

change .png to .PNG to satisfy WINDOWS



git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@100014 bc3139a8-67e5-0310-9ffc-ced21a209358

g.yu authored on 01/03/2015 06:18:59
Showing 3 changed files

... ...
@@ -1,7 +1,7 @@
1 1
 Package: ggtree
2 2
 Type: Package
3 3
 Title: a phylogenetic tree viewer for different types of tree annotations
4
-Version: 0.99.19
4
+Version: 0.99.20
5 5
 Author: Guangchuang Yu
6 6
 Maintainer: Guangchuang Yu <guangchuangyu@gmail.com>
7 7
 Description: ggtree extends the ggplot2 plotting system which implemented the
... ...
@@ -1,3 +1,9 @@
1
+CHANGES IN VERSION 0.99.20
2
+------------------------
3
+ o change .png to .PNG for WINDOWS platform <2015-03-01, Sun>
4
+   	  Error: processing vignette 'ggtree.Rmd' failed with diagnostics:
5
+   	  file is not in PNG format
6
+ 
1 7
 CHANGES IN VERSION 0.99.19
2 8
 ------------------------
3 9
  o for time scale tree inferred by BEAST, now user can use time_scale=TRUE parameter in ggtree function <2015-02-12, Thu>
... ...
@@ -33,7 +33,7 @@ download.phylopic <- function(id, size=512, color="black", alpha=1) {
33 33
         match.arg(c("64", "128", "256", "512", "1024"))
34 34
 
35 35
     imgurl <- paste0("http://phylopic.org/assets/images/submissions/", id, ".", size, ".png")
36
-    imgfile <- tempfile(fileext = ".png")
36
+    imgfile <- tempfile(fileext = ".PNG") ## .png is not recognize by WINDOWS platform
37 37
     download.file(imgurl, imgfile, quiet = TRUE)
38 38
     img <- readImage(imgfile)
39 39