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

2011-04-29 Thread Prof Brian Ripley
On Fri, 29 Apr 2011, Hervé Pagès wrote: On 11-03-30 01:55 AM, Prof Brian Ripley wrote: 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 m

Re: [Rd] R CMD check and Suggests Packages

2011-04-29 Thread Dario Strbenac
The intention was more to have another place to make the user aware of a real-sized data package I made, since the package only comes with trivially sized data. The help examples and vignette only use the small sized data, and never the realistic dataset. I suppose it is better just to put a ref

Re: [Rd] grid stringHeight

2011-04-29 Thread baptiste auguie
On 27 April 2011 11:06, baptiste auguie wrote: > Dear all, > > I'm puzzled by the behavior of stringHeight in the grid package. > Consider the following test, > > library(grid) > > test <- function(lab="dog", ...){ >  g1 <- textGrob(lab) >  g2 <- rectGrob(height=grobHeight(g1), width=grobWidth(g1)

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

2011-04-29 Thread Hervé Pagès
On 11-03-30 01:55 AM, Prof Brian Ripley wrote: 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* fo

[Rd] Windows Rzlib.dll gzopen and friends

2011-04-29 Thread Martin Morgan
Several Bioconductor packages were expecting Windows Rzlib.dll to provide gzopen / gzread / gzseek / gzgets / gzrewind / gzclose. Are these gone for good, viz., r55624 ? Martin -- Computational Biology Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109

Re: [Rd] median and data frames

2011-04-29 Thread Patrick Burns
If Martin's proposal is accepted, does that mean that the median method for data frames would be something like: function (x, ...) { stop(paste("you probably mean to use the command: sapply(", deparse(substitute(x)), ", median)", sep="")) } Pat On 29/04/2011 15:25, Mart

Re: [Rd] R CMD check and Suggests Packages

2011-04-29 Thread Hadley Wickham
> Maybe also useful to distinguish between package check and INSTALL, where > during the former the Suggests: package must be present (modulo setting > additional flags) but in the latter may not be. The Bioconductor build > system, for instance, would install RepitoolsExamples  before running R CM

Re: [Rd] median and data frames

2011-04-29 Thread Hadley Wickham
> My personal oppinion is that  mean.data.frame() should never have > been written. > People should know, or learn, to use apply functions for such a > task. > > The unfortunate fact that mean.data.frame() exists makes people > think that median.data.frame() should too, > and then > >  var.data.fra

Re: [Rd] median and data frames

2011-04-29 Thread William Dunlap
> From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of Martin Maechler > Sent: Friday, April 29, 2011 7:25 AM > To: Paul Johnson > Cc: r-devel > Subject: Re: [Rd] median and data frames > [ ... lots of lines elided ... ] > My vote is for deprecating mean.data

Re: [Rd] R CMD check and Suggests Packages

2011-04-29 Thread Martin Morgan
On 04/29/2011 07:36 AM, Simon Urbanek wrote: On Apr 29, 2011, at 9:52 AM, Steve Lianoglou wrote: Hi, On Fri, Apr 29, 2011 at 5:29 AM, Prof Brian Ripley wrote: On Fri, 29 Apr 2011, Dario Strbenac wrote: Hello, In my description file, I have an example data package in Suggests: that I've

Re: [Rd] R CMD check and Suggests Packages

2011-04-29 Thread Simon Urbanek
On Apr 29, 2011, at 9:52 AM, Steve Lianoglou wrote: > Hi, > > On Fri, Apr 29, 2011 at 5:29 AM, Prof Brian Ripley > wrote: >> On Fri, 29 Apr 2011, Dario Strbenac wrote: >> >>> Hello, >>> >>> In my description file, I have an example data package in Suggests: that >>> I've deleted from my libra

Re: [Rd] median and data frames

2011-04-29 Thread Martin Maechler
> Paul Johnson > on Thu, 28 Apr 2011 00:20:27 -0500 writes: > On Wed, Apr 27, 2011 at 12:44 PM, Patrick Burns > wrote: >> Here are some data frames: >> >> df3.2 <- data.frame(1:3, 7:9) >> df4.2 <- data.frame(1:4, 7:10) >> df3.3 <- data.frame(1:3, 7:9, 10:

Re: [Rd] R CMD check and Suggests Packages

2011-04-29 Thread Steve Lianoglou
Hi, On Fri, Apr 29, 2011 at 5:29 AM, Prof Brian Ripley wrote: > On Fri, 29 Apr 2011, Dario Strbenac wrote: > >> Hello, >> >> In my description file, I have an example data package in Suggests: that >> I've deleted from my library to test what the user who doesn't have it will >> experience. >> >>

Re: [Rd] request for R-exts addition

2011-04-29 Thread Martin Maechler
> Ben Bolker > on Thu, 28 Apr 2011 10:06:01 -0400 writes: > would it be possible / make sense to copy some of the > information in ?news into the R-exts manual, where package > writers are most likely (?) to look for it? sure... > The information therein seems m

Re: [Rd] R CMD check and Suggests Packages

2011-04-29 Thread Prof Brian Ripley
On Fri, 29 Apr 2011, Dario Strbenac wrote: Hello, In my description file, I have an example data package in Suggests: that I've deleted from my library to test what the user who doesn't have it will experience. However, R CMD check won't even pass my package : * checking package dependenci