Skip to content
Prev 5362 / 21312 Next

[Bioc-devel] Unreproducible build check warning

Hi Antti,

It's looking for

\alias{[,scoreList,ANY-method}


The generic '[' can dispatch on arguments 'x', 'i' and 'j'.
The method you wrote for scoreList dispataches on 'x' as a scoreList 
object but doesn't specify 'i' or 'j'. One of these indices must be 
present in order for subsetting to happen. In this case (I believe) the 
default is assuming 'i' as ANY and 'j' as missing.

For example, with the VCF class I've specified the method for ANY, ANY:

setMethod("[", c("VCF", "ANY", "ANY"),
     function(x, i, j, ..., drop=TRUE)
{
...

To see more examples,

showMethods('[')


Valerie
On 03/17/2014 08:13 AM, Antti Honkela wrote: