Re: [Rd] is.vector(as.vector(x, m), m) not always TRUE

2013-04-24 Thread Hervé Pagès
On 04/24/2013 09:02 AM, peter dalgaard wrote: This is now fixed in R-devel (never actually bit anyone, did it?) Thanks for fixing... before someone gets bitten :-) as.vector() just made it into the BiocGenerics package, and the man page for BiocGenerics::as.vector redirects the reader to the m

Re: [Rd] is.vector(as.vector(x, m), m) not always TRUE

2013-04-24 Thread peter dalgaard
This is now fixed in R-devel (never actually bit anyone, did it?) -pd On Apr 24, 2013, at 08:11 , peter dalgaard wrote: >>> >>> is.vector(as.vector("a", "name"), "name") >> [1] FALSE >> >> Mmmh, the default method itself doesn't seem to follow its own >> conventions :-/ >> > > Looks like the

Re: [Rd] is.vector(as.vector(x, m), m) not always TRUE

2013-04-23 Thread peter dalgaard
On Apr 24, 2013, at 01:48 , Hervé Pagès wrote: > In the man page for as.vector() (same as man page for vector()): > > Writers of methods for ‘as.vector’ need to take care to follow the > conventions of the default method. In particular > >• Argument ‘mode’ can be ‘"any"’, any o

[Rd] is.vector(as.vector(x, m), m) not always TRUE

2013-04-23 Thread Hervé Pagès
In the man page for as.vector() (same as man page for vector()): Writers of methods for ‘as.vector’ need to take care to follow the conventions of the default method. In particular • Argument ‘mode’ can be ‘"any"’, any of the atomic modes, ‘"list"’, ‘"expression"’, ‘