Browse code

fixed R check

Guangchuang Yu authored on 25/01/2019 21:12:11
Showing 8 changed files

... ...
@@ -44,6 +44,7 @@ Remotes:
44 44
     GuangchuangYu/treeio
45 45
 VignetteBuilder: knitr
46 46
 ByteCompile: true
47
+Encoding: UTF-8
47 48
 License: Artistic-2.0
48 49
 URL: https://guangchuangyu.github.io/software/ggtree
49 50
 BugReports: https://github.com/GuangchuangYu/ggtree/issues
... ...
@@ -1,6 +1,6 @@
1 1
 ##' @importFrom magrittr %>%
2 2
 ##' @export
3
-magrittr::%>%
3
+magrittr::`%>%`
4 4
 
5 5
 ##' @importFrom ape rtree
6 6
 ##' @export
... ...
@@ -28,5 +28,5 @@ row.names(dd) <- NULL
28 28
 p \%<+\% dd + geom_text(aes(color=place, label=label), hjust=-0.5)
29 29
 }
30 30
 \author{
31
-Yu Guangchuang
31
+Guangchuang Yu
32 32
 }
... ...
@@ -20,5 +20,5 @@ polytomy tree
20 20
 collapse binary tree to polytomy by applying 'fun' to 'feature'
21 21
 }
22 22
 \author{
23
-Guangchuang
23
+Guangchuang Yu
24 24
 }
25 25
deleted file mode 100644
... ...
@@ -1,19 +0,0 @@
1
-% Generated by roxygen2: do not edit by hand
2
-% Please edit documentation in R/operator.R
3
-\name{\%>\%}
4
-\alias{\%>\%}
5
-\title{pipe}
6
-\usage{
7
-lhs \%>\% rhs
8
-}
9
-\arguments{
10
-\item{lhs}{left hand side}
11
-
12
-\item{rhs}{right hand side}
13
-}
14
-\description{
15
-pipe
16
-}
17
-\seealso{
18
-\link[magrittr]{pipe}
19
-}
... ...
@@ -18,5 +18,5 @@ character vector of '[lower, upper]'
18 18
 format a list of range (HPD, CI, etc that has length of 2)
19 19
 }
20 20
 \author{
21
-guangchuang yu
21
+Guangchuang Yu
22 22
 }
... ...
@@ -3,6 +3,7 @@
3 3
 \docType{import}
4 4
 \name{reexports}
5 5
 \alias{reexports}
6
+\alias{\%>\%}
6 7
 \alias{rtree}
7 8
 \alias{read.tree}
8 9
 \alias{read.nexus}
... ...
@@ -47,6 +48,8 @@ below to see their documentation.
47 48
 
48 49
   \item{ggplot2}{\code{\link[ggplot2]{fortify}}, \code{\link[ggplot2]{ggplot}}, \code{\link[ggplot2]{xlim}}, \code{\link[ggplot2]{theme}}, \code{\link[ggplot2]{ggsave}}, \code{\link[ggplot2]{aes}}, \code{\link[ggplot2]{fortify}}, \code{\link[ggplot2]{geom_text}}, \code{\link[ggplot2]{geom_label}}, \code{\link[ggplot2]{geom_point}}}
49 50
 
51
+  \item{magrittr}{\code{\link[magrittr]{\%>\%}}}
52
+
50 53
   \item{tidytree}{\code{\link[tidytree]{groupOTU}}, \code{\link[tidytree]{groupClade}}}
51 54
 
52 55
   \item{treeio}{\code{\link[treeio]{read.astral}}, \code{\link[treeio]{read.beast}}, \code{\link[treeio]{read.codeml}}, \code{\link[treeio]{read.codeml_mlc}}, \code{\link[treeio]{read.hyphy}}, \code{\link[treeio]{read.iqtree}}, \code{\link[treeio]{read.jplace}}, \code{\link[treeio]{read.jtree}}, \code{\link[treeio]{read.mrbayes}}, \code{\link[treeio]{read.newick}}, \code{\link[treeio]{read.nhx}}, \code{\link[treeio]{read.paml_rst}}, \code{\link[treeio]{read.phylip}}, \code{\link[treeio]{read.phyloT}}, \code{\link[treeio]{read.r8s}}, \code{\link[treeio]{read.raxml}}}
... ...
@@ -25,5 +25,5 @@ p <- ggtree(tree) + geom_tippoint(color="#b5e521", alpha=1/4, size=10)
25 25
 p \%<\% rtree(30)
26 26
 }
27 27
 \author{
28
-Yu Guangchuang
28
+Guangchuang Yu
29 29
 }