[Rd] R CMD build now removes empty dirs

2011-03-30 Thread Pages, Herve
Hi, It's unfortunate that with recent revisions of R 2.13 (this appeared in revision 54640, March 2), 'R CMD build' now removes empty dirs in the package. People might have good reasons for having empty dirs in their packages. For example, in Bioconductor, we have some tools to automatically gener

Re: [Rd] R CMD build processes inst/doc/Makefile only if there are vignette files?

2011-03-30 Thread Prof Brian Ripley
What R CMD build (and check) does is to call tools::buildVignettes. That has been true for a while, and buildVignettes() returns if no vignettes are found. The docs are out-of-date. My view is that you are misusing inst/doc: it is intended *only* for files which are going to be installed and

Re: [Rd] Reading 64-bit integers

2011-03-30 Thread Jon Clayden
On 30 March 2011 02:49, Simon Urbanek wrote: > > On Mar 29, 2011, at 8:47 PM, Duncan Murdoch wrote: > >> On 29/03/2011 7:01 PM, Jon Clayden wrote: >>> Dear Simon, >>> >>> On 29 March 2011 22:40, Simon Urbanek  wrote: Jon, On Mar 29, 2011, at 1:33 PM, Jon Clayden wrote: > De

Re: [Rd] Reading 64-bit integers

2011-03-30 Thread Jon Clayden
Draft patch attached. I haven't modified internal code before, so there may be a mistake in how I handle the mechanics, but hopefully this is a useful starting point. At any rate, the base package tests still work and it seems to function as intended: > x <- as.raw(c(0,0,0,1,0,0,0,0)) > (readBin(x

Re: [Rd] Reading 64-bit integers

2011-03-30 Thread William Dunlap
> -Original Message- > From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of Simon Urbanek > Sent: Tuesday, March 29, 2011 6:49 PM > To: Duncan Murdoch > Cc: r-devel@r-project.org > Subject: Re: [Rd] Reading 64-bit integers > > > On Mar 29, 2011, at 8

Re: [Rd] Reading 64-bit integers

2011-03-30 Thread Simon Urbanek
Bill, thanks. I like that idea of the output parameter better, especially if we ever add different scalar vector types. Admittedly, what=integer() is the most useful case. What I was worried about is things like what=double(), output=integer() which could be legal, but are more conveniently dea

Re: [Rd] core Matrix package segfaulted on R CMD check --use-gct

2011-03-30 Thread Douglas Bates
On Tue, Mar 29, 2011 at 2:17 PM, Douglas Bates wrote: > On Tue, Mar 29, 2011 at 5:34 AM, Hin-Tak Leung > wrote: >> Martin Maechler wrote: Douglas Bates    on Mon, 28 Mar 2011 09:24:39 -0500 writes: >>> >>>    > Can you provide the output from sessionInfo() >>> >>>    >

Re: [Rd] Reading 64-bit integers

2011-03-30 Thread Henrik Bengtsson
On Wed, Mar 30, 2011 at 11:22 AM, Simon Urbanek wrote: > Bill, > > thanks. I like that idea of the output parameter better, especially if we > ever add different scalar vector types. Admittedly, what=integer() is the > most useful case. What I was worried about is things like what=double(), > o

Re: [Rd] R CMD build now removes empty dirs

2011-03-30 Thread Henrik Bengtsson
I am also in favor for keeping the ability of installing directory structures that are partly empty. I've used it before to setup templates that can conveniently be copied recursively to a local path. I did noticed that R CMD INSTALL gave a warning about empty directories before (or was it a NOTE

Re: [Rd] Reading 64-bit integers

2011-03-30 Thread Henrik Bengtsson
On Wed, Mar 30, 2011 at 7:51 PM, Henrik Bengtsson wrote: > On Wed, Mar 30, 2011 at 11:22 AM, Simon Urbanek > wrote: >> Bill, >> >> thanks. I like that idea of the output parameter better, especially if we >> ever add different scalar vector types. Admittedly, what=integer() is the >> most usefu