Re: [Rd] S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment

2016-04-20 Thread Martin Maechler
> Michael Lawrence > on Tue, 19 Apr 2016 05:34:41 -0700 writes: > Not sure why R_has_methods_attached() exists. Maybe Martin could shed > some light on that. It was to support (via 'classgets' in attrib.c) a very fast class(.) <- "" for S4 objects... to be used in setAs

Re: [Rd] R-exts update for new *check* argument in R 3.3.0

2016-04-20 Thread Prof Brian Ripley
On 19/04/2016 23:53, Jan Górecki wrote: Hello dear dev team, In the recent devel R-exts manual I cannot find any information about new option `--ignore-vignettes` to `R CMD check`. I would expect it to be mentioned somewhere in "1.4.2 Non-Sweave vignettes". Which is a subsection of §1.4 'Writi

[Rd] locked environments

2016-04-20 Thread William Dunlap via R-devel
Shouldn't the following 4 ways to alter an object in a locked environment either all work or all fail? (All working would be nice, I think.) E <- new.env() assign("var", c(1,2,3,4), envir=E) lockEnvironment(E, bindings=FALSE) E$var[1] <- 101 ; E$var #[1] 101 2 3 local(var[2]

[Rd] Fresh build from source of R-3.2.5 failing "make check" under 64-bit Ubuntu

2016-04-20 Thread Mark Dalphin
Hi, Let me justify building R from source. While I can obtain R built for me under Ubuntu, I tend to build it from scratch as we use a NFS-shared build as well as shared R libraries for all the bioinfo staff at this company. Only one build and one set of packages to ensure uniformity across all wo