Browse code

Work around a regression in R 3.4.2. The regression breaks calling the paste() generic defined in BiocGenerics in some particular contexts.

Conflicts:
DESCRIPTION

Hervé Pagès authored on 04/10/2017 01:07:00
Showing 3 changed files

... ...
@@ -1,7 +1,7 @@
1 1
 Package: SplicingGraphs
2 2
 Title: Create, manipulate, visualize splicing graphs, and assign RNA-seq reads
3 3
 	to them
4
-Version: 1.16.0
4
+Version: 1.16.1
5 5
 Encoding: UTF-8
6 6
 Author: D. Bindreither, M. Carlson, M. Morgan, H. Pagès
7 7
 License: Artistic-2.0
... ...
@@ -185,13 +185,13 @@
185 185
             ans_d <- c(ans_d, bubble_d)
186 186
             ## Format the bubble partitions.
187 187
             bubble_partitions <- bubble_variants[ , "partition"]
188
-            bubble_partitions <- sapply(bubble_partitions, paste, collapse=",")
188
+            bubble_partitions <- sapply(bubble_partitions, base::paste, collapse=",")
189 189
             bubble_partitions <- paste0("{", bubble_partitions, "}")
190 190
             ans_partitions <- c(ans_partitions,
191 191
                                 CharacterList(bubble_partitions))
192 192
             ## Format the bubble paths.
193 193
             bubble_paths <- bubble_variants[ , "path"]
194
-            bubble_paths <- sapply(bubble_paths, paste, collapse=",")
194
+            bubble_paths <- sapply(bubble_paths, base::paste, collapse=",")
195 195
             bubble_paths <- paste0("{", bubble_paths, "}")
196 196
             ans_paths <- c(ans_paths, CharacterList(bubble_paths))
197 197
             ## Format the bubble AScode.
... ...
@@ -106,7 +106,7 @@ setOldClass("igraph")
106 106
         stop("'tx_id.as.edge.label' must be TRUE or FALSE")
107 107
     d <- .precook_igraph_edges_from_sgedges(sgedges)
108 108
     if (tx_id.as.edge.label)
109
-        d$label <- sapply(d$tx_id, paste, collapse=",")
109
+        d$label <- sapply(d$tx_id, base::paste, collapse=",")
110 110
     d$tx_id <- NULL
111 111
     ## Turning 'd' into an ordinary data.frame. (Looks like 'as.data.frame()'
112 112
     ## on a DataFrame ignores the 'stringsAsFactors' arg so we use