Skip to content
Prev 163666 / 398506 Next

Bug in "transform"?

Prof Brian Ripley wrote:
Hmm, you could well be right there. Not quite a simple spot change, 
though. As far as I see, either it needs do.call, or maybe there is a 
much more radical simplification possible. I'll have a look.

BTW, we have a deparser bug:

 > transform
function ("_data", ...)
UseMethod("transform")
<environment: namespace:base>

 > function ("_data", ...)
Error: unexpected string constant in "function ("_data""
....

 > f <- function (`_data`, ...) {}
 > attr(f,"source")<-NULL
 > f
function ("_data", ...)
{
}

It should deparse with backticks, not the old-style quotes (did that 
ever work?).