Re: [Rd] deparse(substitute(x)) fails in implied call to an S3 print method

2017-05-07 Thread Spencer Graves
On 2017-05-07 3:46 PM, Duncan Murdoch wrote: On 07/05/2017 3:56 PM, Spencer Graves wrote: In an implied call to an S3 print method, deparse(substitute(x)) returns "x", regardless of the name of object in .GlobalEnv, as indicated in the following: > Xnamed <- 1 > class(Xnamed) <- 'name.x'

Re: [Rd] deparse(substitute(x)) fails in implied call to an S3 print method

2017-05-07 Thread Duncan Murdoch
On 07/05/2017 3:56 PM, Spencer Graves wrote: In an implied call to an S3 print method, deparse(substitute(x)) returns "x", regardless of the name of object in .GlobalEnv, as indicated in the following: > Xnamed <- 1 > class(Xnamed) <- 'name.x' > print.name.x <- function(x, ...){ + namex

[Rd] deparse(substitute(x)) fails in implied call to an S3 print method

2017-05-07 Thread Spencer Graves
In an implied call to an S3 print method, deparse(substitute(x)) returns "x", regardless of the name of object in .GlobalEnv, as indicated in the following: > Xnamed <- 1 > class(Xnamed) <- 'name.x' > print.name.x <- function(x, ...){ + namex <- deparse(substitute(x)) + cat('How can I get

Re: [Rd] complex tests failure

2017-05-07 Thread Kasper Daniel Hansen
Great! Works for me on RHEL6. Best, Kasper On Fri, May 5, 2017 at 9:23 AM, Tomas Kalibera wrote: > Thanks for the report, handled in configure in 72661 (R-devel). > I'll also port to R-patched. > > Best > Tomas > > > On 05/04/2017 03:49 PM, Tomas Kalibera wrote: > > >

Re: [R-pkg-devel] Any new developments on "apparent S3 method" issue?

2017-05-07 Thread Uwe Ligges
On 04.05.2017 16:23, Lenth, Russell V wrote: OK thanks -- this gives me a new perspective. I see this result: > tools::nonS3methods("coda") [1] "as.mcmc.list" which indicates more about the mechanisms in place for this kind of situation. So now it seems that if package 'pkg_B'