From jmc at r-project.org  Thu Mar 15 22:01:48 2012
From: jmc at r-project.org (John Chambers)
Date: Thu, 15 Mar 2012 14:01:48 -0700
Subject: [Rd] methods::trace fails when signature specified
In-Reply-To: <4F61748F.6040009@fhcrc.org>
References: <4F61748F.6040009@fhcrc.org>
Message-ID: <4F6258BC.2050306@r-project.org>

Thanks. Should be fixed in r-devel and 2.15 alpha from revision 58756.

(Nothing to do with trace() particularly.   Low-level code to create 
"signature" objects was not returning an S4 object.)


On 3/14/12 9:48 PM, Martin Morgan wrote:
> With
>
>  > R.version.string
> [1] "R version 2.15.0 alpha (2012-03-14 r58748)"
>
> trying to trace a method using the 'signature' argument fails rather
> than enabling the trace:
>
>  > trace(initialize, signature="ANY")
> Error in matchSignature(signature, fdef, where) :
> trying to match a method signature of class ?signature?; expects a list
> or a character vector
>



[Rd] methods::trace fails when signature specified
John Chambers