[Rd] Undocumented S4 method Warning For Bracket

Dario Strbenac dstr7320 at uni.sydney.edu.au
Fri Dec 6 04:00:10 CET 2013


Hello,

With R version 3.0.2 Patched (2013-10-30 r64123) I don't see warnings that I get in R Under development (unstable) (2013-11-03 r64145)

The warnings are like :

Undocumented S4 methods:
  generic '[' and siglist 'BayMethList,ANY,ANY'

The function actually looks like :

setMethod("[", "BayMethList",
    function(x, i) {
  # Code to subset object.
}

It has 2 parameters, not 3. The warning also happens in R 3.0.2 Release. Has this been fixed in Patched but not in the development version ?

--------------------------------------
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia


More information about the R-devel mailing list