Browse code

handle suggests/Imports issues

From: vandersm <vandersm@mail.uc.edu>

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/KEGGlincs@127389 bc3139a8-67e5-0310-9ffc-ced21a209358

Shana White authored on 14/03/2017 18:21:45
Showing 3 changed files

... ...
@@ -14,10 +14,10 @@ LazyData: true
14 14
 RoxygenNote: 5.0.1
15 15
 Depends: R (>= 3.3), KOdata, hgu133a.db, org.Hs.eg.db (>= 3.3.0)
16 16
 SystemRequirements: Cytoscape (>= 3.3.0), Java (>= 8)
17
-Suggests: BiocInstaller (>= 1.20.3), knitr, rmarkdown, graph
17
+Suggests: BiocInstaller (>= 1.20.3), knitr, graph
18 18
 biocViews: NetworkInference, GeneExpression, DataRepresentation,
19 19
         ThirdPartyClient,CellBiology,GraphAndNetwork,Pathways,KEGG,Network
20 20
 Imports:
21 21
         AnnotationDbi,KEGGgraph,igraph,plyr,gtools,httr,RJSONIO,KEGGREST,
22
-        methods,graphics,stats,utils
22
+        methods,graphics,stats,utils, XML
23 23
 VignetteBuilder: knitr
... ...
@@ -3,7 +3,6 @@
3 3
 export(KEGG_lincs)
4 4
 export(add_KEGG_drugs)
5 5
 export(add_edge_data)
6
-export(add_kegg_drugs)
7 6
 export(cyto_vis)
8 7
 export(edge_mapping_info)
9 8
 export(expand_KEGG_edges)
... ...
@@ -22,6 +21,7 @@ import(AnnotationDbi)
22 21
 import(KEGGREST)
23 22
 import(KOdata)
24 23
 import(RJSONIO)
24
+import(XML)
25 25
 import(hgu133a.db)
26 26
 import(httr)
27 27
 import(methods)
... ...
@@ -4,6 +4,7 @@
4 4
 #' @param pathwayid A KEGG pathway ID of the form "hsa12345" 
5 5
 #' (only human pathways currently)
6 6
 #' @return A data.frame object with either disease or drug information
7
+#' @importFrom XML readHTMLTable
7 8
 #' @export
8 9
 #' @examples
9 10
 #' RA_drug_table <- get_drug_table("hsa05323")