Browse code

move methods to exports

Zuguang Gu authored on 03/05/2017 07:22:06
Showing 2 changed files

... ...
@@ -5,8 +5,8 @@ Version: 1.13.2
5 5
 Date: 2017-2-15
6 6
 Author: Zuguang Gu
7 7
 Maintainer: Zuguang Gu <z.gu@dkfz.de>
8
-Depends: R (>= 3.1.2), grid, graphics, stats, grDevices
9
-Imports: methods, circlize (>= 0.3.4), GetoptLong, colorspace,
8
+Depends: R (>= 3.1.2), methods, grid, graphics, stats, grDevices
9
+Imports: circlize (>= 0.3.4), GetoptLong, colorspace,
10 10
     RColorBrewer, dendextend (>= 1.0.1), GlobalOptions (>= 0.0.10)
11 11
 Suggests: testthat (>= 0.3), knitr, markdown, cluster, MASS, pvclust, 
12 12
     dendsort, HilbertCurve, Cairo, png, jpeg, tiff, fastcluster
... ...
@@ -98,6 +98,7 @@ import(grDevices)
98 98
 import(graphics)
99 99
 import(grid)
100 100
 import(stats)
101
+import(methods)
101 102
 importFrom("GetoptLong", qq)
102 103
 importFrom("GetoptLong", qq.options)
103 104
 importFrom("GetoptLong", qqcat)
... ...
@@ -111,9 +112,5 @@ importFrom("colorspace", rainbow_hcl)
111 112
 importFrom("dendextend", "labels<-")
112 113
 importFrom("dendextend", get_branches_heights)
113 114
 importFrom("dendextend", nnodes)
114
-importFrom("methods", "new", "show")
115
-importFrom("methods", setClass)
116
-importFrom("methods", setGeneric)
117
-importFrom("methods", setMethod)
118 115
 importFrom("utils", "getFromNamespace")
119 116