git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@122173 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Package: ggtree |
2 | 2 |
Type: Package |
3 | 3 |
Title: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data |
4 |
-Version: 1.5.15 |
|
4 |
+Version: 1.5.16 |
|
5 | 5 |
Author: Guangchuang Yu and Tommy Tsan-Yuk Lam |
6 | 6 |
Maintainer: Guangchuang Yu <guangchuangyu@gmail.com> |
7 | 7 |
Description: 'ggtree' extends the 'ggplot2' plotting system which implemented the grammar of graphics. |
... | ... |
@@ -1,3 +1,8 @@ |
1 |
+CHANGES IN VERSION 1.5.16 |
|
2 |
+------------------------ |
|
3 |
+ o fixed R check <2016-10-10, Mon> |
|
4 |
+ + check.aes parameter is not available in release version of ggplot2 yet |
|
5 |
+ |
|
1 | 6 |
CHANGES IN VERSION 1.5.15 |
2 | 7 |
------------------------ |
3 | 8 |
o check.aes for layers defined in ggtree <2016-10-07, Fri> |
... | ... |
@@ -14,6 +14,7 @@ |
14 | 14 |
#' @export |
15 | 15 |
#' @importFrom ggplot2 aes_ |
16 | 16 |
#' @importFrom ggplot2 GeomRect |
17 |
+#' @importFrom utils packageVersion |
|
17 | 18 |
#' @author Justin Silverman |
18 | 19 |
#' @references J. Silverman, et al. \emph{A phylogenetic transform enhances |
19 | 20 |
#' analysis of compositional microbiota data}. (in preparation) |
... | ... |
@@ -45,7 +46,7 @@ geom_balance <- function(node, fill="steelblue", color='white', alpha=.5, extend |
45 | 46 |
extendto=extendto, |
46 | 47 |
direction=1, |
47 | 48 |
na.rm = na.rm), |
48 |
- check.aes = FALSE |
|
49 |
+ if (packageVersion('ggplot2') > '2.1.0') check.aes = FALSE |
|
49 | 50 |
) |
50 | 51 |
l2 <- layer( |
51 | 52 |
stat=StatBalance, |
... | ... |
@@ -63,7 +64,7 @@ geom_balance <- function(node, fill="steelblue", color='white', alpha=.5, extend |
63 | 64 |
extendto=extendto, |
64 | 65 |
direction=2, |
65 | 66 |
na.rm = na.rm), |
66 |
- check.aes = FALSE |
|
67 |
+ if (packageVersion('ggplot2') > '2.1.0') check.aes = FALSE |
|
67 | 68 |
) |
68 | 69 |
return(c(l1,l2)) |
69 | 70 |
} |
... | ... |
@@ -116,7 +117,7 @@ stat_balance <- function(mapping=NULL, data=NULL, geom="rect", |
116 | 117 |
extendto=extendto, |
117 | 118 |
direction=1, |
118 | 119 |
...), |
119 |
- check.aes = FALSE |
|
120 |
+ if (packageVersion('ggplot2') > '2.1.0') check.aes = FALSE |
|
120 | 121 |
) |
121 | 122 |
l2 <- layer( |
122 | 123 |
stat=StatBalance, |
... | ... |
@@ -134,7 +135,7 @@ stat_balance <- function(mapping=NULL, data=NULL, geom="rect", |
134 | 135 |
extendto=extendto, |
135 | 136 |
direction=2, |
136 | 137 |
...), |
137 |
- check.aes = FALSE |
|
138 |
+ if (packageVersion('ggplot2') > '2.1.0') check.aes = FALSE |
|
138 | 139 |
) |
139 | 140 |
return(c(l1,l2)) |
140 | 141 |
} |
... | ... |
@@ -129,7 +129,7 @@ stat_cladeText <- function(mapping=NULL, data=NULL, |
129 | 129 |
na.rm = na.rm, |
130 | 130 |
parse = parse, |
131 | 131 |
...), |
132 |
- check.aes = FALSE |
|
132 |
+ if (packageVersion('ggplot2') > '2.1.0') check.aes = FALSE |
|
133 | 133 |
) |
134 | 134 |
|
135 | 135 |
} |
... | ... |
@@ -157,7 +157,7 @@ stat_cladeBar <- function(mapping=NULL, data=NULL, |
157 | 157 |
align=align, |
158 | 158 |
na.rm=na.rm, |
159 | 159 |
...), |
160 |
- check.aes = FALSE |
|
160 |
+ if (packageVersion('ggplot2') > '2.1.0') check.aes = FALSE |
|
161 | 161 |
) |
162 | 162 |
} |
163 | 163 |
|
... | ... |
@@ -98,7 +98,7 @@ stat_stripText <- function(mapping=NULL, data=NULL, |
98 | 98 |
na.rm=na.rm, |
99 | 99 |
parse=parse, |
100 | 100 |
...), |
101 |
- check.aes = FALSE |
|
101 |
+ if (packageVersion('ggplot2') > '2.1.0') check.aes = FALSE |
|
102 | 102 |
) |
103 | 103 |
|
104 | 104 |
} |
... | ... |
@@ -134,7 +134,7 @@ stat_stripBar <- function(mapping=NULL, data=NULL, |
134 | 134 |
barextend=barextend, |
135 | 135 |
na.rm=na.rm, |
136 | 136 |
...), |
137 |
- check.aes = FALSE |
|
137 |
+ if (packageVersion('ggplot2') > '2.1.0') check.aes = FALSE |
|
138 | 138 |
) |
139 | 139 |
|
140 | 140 |
} |
... | ... |
@@ -47,7 +47,7 @@ stat_tree <- function(mapping=NULL, data=NULL, geom="segment", position="identit |
47 | 47 |
lineend = lineend, |
48 | 48 |
na.rm = na.rm, |
49 | 49 |
...), |
50 |
- check.aes = FALSE |
|
50 |
+ if (packageVersion('ggplot2') > '2.1.0') check.aes = FALSE |
|
51 | 51 |
), |
52 | 52 |
layer(data=data, |
53 | 53 |
mapping=mapping, |
... | ... |
@@ -60,7 +60,7 @@ stat_tree <- function(mapping=NULL, data=NULL, geom="segment", position="identit |
60 | 60 |
lineend = lineend, |
61 | 61 |
na.rm = na.rm, |
62 | 62 |
...), |
63 |
- check.aes = FALSE |
|
63 |
+ if (packageVersion('ggplot2') > '2.1.0') check.aes = FALSE |
|
64 | 64 |
) |
65 | 65 |
) |
66 | 66 |
} else if (layout %in% c("slanted", "radial", "unrooted")) { |
... | ... |
@@ -75,7 +75,7 @@ stat_tree <- function(mapping=NULL, data=NULL, geom="segment", position="identit |
75 | 75 |
lineend = lineend, |
76 | 76 |
na.rm = na.rm, |
77 | 77 |
...), |
78 |
- check.aes = FALSE |
|
78 |
+ if (packageVersion('ggplot2') > '2.1.0') check.aes = FALSE |
|
79 | 79 |
) |
80 | 80 |
} |
81 | 81 |
} |
... | ... |
@@ -1,9 +1,9 @@ |
1 | 1 |
ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data |
2 | 2 |
=========================================================================================================================== |
3 | 3 |
|
4 |
-[](https://bioconductor.org/packages/ggtree) [](https://github.com/GuangchuangYu/ggtree) [](https://www.bioconductor.org/packages/devel/bioc/html/ggtree.html#since) [](https://bioconductor.org/packages/stats/bioc/ggtree) [](https://bioconductor.org/packages/stats/bioc/ggtree) |
|
4 |
+[](https://bioconductor.org/packages/ggtree) [](https://github.com/GuangchuangYu/ggtree) [](https://www.bioconductor.org/packages/devel/bioc/html/ggtree.html#since) [](https://bioconductor.org/packages/stats/bioc/ggtree) [](https://bioconductor.org/packages/stats/bioc/ggtree) |
|
5 | 5 |
|
6 |
-[](http://www.repostatus.org/#active) [](https://codecov.io/gh/GuangchuangYu/ggtree) [](https://github.com/GuangchuangYu/ggtree/commits/master) [](https://github.com/GuangchuangYu/ggtree/network) [](https://github.com/GuangchuangYu/ggtree/stargazers) [](https://awesome-r.com/#awesome-r-graphic-displays) |
|
6 |
+[](http://www.repostatus.org/#active) [](https://codecov.io/gh/GuangchuangYu/ggtree) [](https://github.com/GuangchuangYu/ggtree/commits/master) [](https://github.com/GuangchuangYu/ggtree/network) [](https://github.com/GuangchuangYu/ggtree/stargazers) [](https://awesome-r.com/#awesome-r-graphic-displays) |
|
7 | 7 |
|
8 | 8 |
[](https://www.bioconductor.org/packages/devel/bioc/html/ggtree.html#archives) [](https://bioconductor.org/checkResults/devel/bioc-LATEST/ggtree/) [](https://travis-ci.org/GuangchuangYu/ggtree) [](https://ci.appveyor.com/project/GuangchuangYu/ggtree) [](http://bioconda.github.io/recipes/bioconductor-ggtree/README.html) |
9 | 9 |
|
... | ... |
@@ -17,7 +17,7 @@ Please cite the following article when using `ggtree`: |
17 | 17 |
|
18 | 18 |
**G Yu**, DK Smith, H Zhu, Y Guan, TTY Lam<sup>\*</sup>. ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. ***Methods in Ecology and Evolution***. *accepted* |
19 | 19 |
|
20 |
-[](http://dx.doi.org/10.1111/2041-210X.12628) [](https://scholar.google.com.hk/scholar?oi=bibs&hl=en&cites=7268358477862164627) [](https://www.altmetric.com/details/10533079) |
|
20 |
+[](http://dx.doi.org/10.1111/2041-210X.12628) [](https://scholar.google.com.hk/scholar?oi=bibs&hl=en&cites=7268358477862164627) [](https://www.altmetric.com/details/10533079) |
|
21 | 21 |
|
22 | 22 |
------------------------------------------------------------------------ |
23 | 23 |
|
... | ... |
@@ -50,7 +50,7 @@ For details, please visit our project website, <https://guangchuangyu.github.io/ |
50 | 50 |
|
51 | 51 |
### Download stats |
52 | 52 |
|
53 |
-[](https://bioconductor.org/packages/stats/bioc/ggtree/) [](https://bioconductor.org/packages/stats/bioc/ggtree) [](https://bioconductor.org/packages/stats/bioc/ggtree) |
|
53 |
+[](https://bioconductor.org/packages/stats/bioc/ggtree/) [](https://bioconductor.org/packages/stats/bioc/ggtree) [](https://bioconductor.org/packages/stats/bioc/ggtree) |
|
54 | 54 |
|
55 | 55 |
+-------------------------+------------------------+-------------------------+----------------+ |
56 | 56 |
| * | |