Browse code

add default to Seq$initialize arg to allow subclassing

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

Martin Morgan authored on 17/12/2012 22:21:00
Showing 2 changed files

... ...
@@ -1,7 +1,7 @@
1 1
 Package: Streamer
2 2
 Type: Package
3 3
 Title: Enabling stream processing of large files
4
-Version: 1.5.0
4
+Version: 1.5.1
5 5
 Author: Martin Morgan, Nishant Gopalakrishnan
6 6
 Maintainer: Martin Morgan <mtmorgan@fhcrc.org>
7 7
 Description: Large data files can be difficult to work with in R,
... ...
@@ -4,7 +4,7 @@
4 4
       from="ANY", to="ANY", by="ANY", yieldSize="integer"),
5 5
     contains="Producer",
6 6
     methods = list(
7
-      initialize = function(..., yieldSize) {
7
+      initialize = function(..., yieldSize=1L) {
8 8
           ## increment yieldSize to avoid repeated addition
9 9
           callSuper(..., yieldSize=as.integer(yieldSize) + 1L)
10 10
       },