Re: [Rd] r-forge build failure bafflement

2012-03-29 Thread Prof Brian Ripley
We've seen similar things several times with CRAN submissions. Basic scenario was - INSTALL (via build or check) is trying to install a package that is not already installed, into a private library not on the usual .libPaths(). - Start-up code in that package is looking for the package, and

Re: [Rd] CRAN policies

2012-03-29 Thread Spencer Graves
On 3/29/2012 8:39 PM, Paul Gilbert wrote: On 12-03-29 09:29 PM, mark.braving...@csiro.au wrote: > I'm concerned this thread is heading the wrong way, towards > techno-fixes for imaginary problems. R package-building is already > encumbered with a huge set of complicated rules, and more > instruc

Re: [Rd] CRAN policies

2012-03-29 Thread Paul Gilbert
On 12-03-29 09:29 PM, mark.braving...@csiro.au wrote: > I'm concerned this thread is heading the wrong way, towards > techno-fixes for imaginary problems. R package-building is already > encumbered with a huge set of complicated rules, and more > instructions/rules eg for metadata would make thin

Re: [Rd] CRAN policies

2012-03-29 Thread Mark.Bravington
I'm concerned this thread is heading the wrong way, towards techno-fixes for imaginary problems. R package-building is already encumbered with a huge set of complicated rules, and more instructions/rules eg for metadata would make things worse not better. RCMD CHECK on the 'mvbutils' package ge

Re: [Rd] r-forge build failure bafflement

2012-03-29 Thread Uwe Ligges
On 29.03.2012 22:54, Ben Bolker wrote: I am attempting to build a package on r-forge and running into a weird error. I have been in correspondence with the R-forge admins and am turning to r-devel on the remote chance that someone might have a guess as to what is going wrong or a suggestio

[Rd] r-forge build failure bafflement

2012-03-29 Thread Ben Bolker
I am attempting to build a package on r-forge and running into a weird error. I have been in correspondence with the R-forge admins and am turning to r-devel on the remote chance that someone might have a guess as to what is going wrong or a suggestion about further diagnostics/experiments I co

Re: [Rd] CRAN policies

2012-03-29 Thread Hadley Wickham
> Most of that stuff is already in codetools, at least when it is checking > functions > with checkUsage().  E.g., arguments of ~ are not checked.  The  expr argument > to with() will not be checked if you add  skipWith=FALSE to the call to > checkUsage. > >  > library(codetools) > >  > checkUsag

Re: [Rd] CRAN policies

2012-03-29 Thread William Dunlap
> > codetools should be able to do special checks for known functions that > > do not following the standard evaluation rules . E.g., do not check any > > arguments of `~`, do not check the 'expr' argument of with, do not check > > the subset or weights arguments of lm. > > > > If a package write

Re: [Rd] CRAN policies

2012-03-29 Thread Spencer Graves
On 3/29/2012 11:29 AM, William Dunlap wrote: Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Matthew Dowle Sent: Thursday, March 29, 2012 10:41 AM To: r-de...@stat.math.e

Re: [Rd] How to create arbitrary number of loops

2012-03-29 Thread Christian Brechbühler
On Wed, Mar 28, 2012 at 5:34 PM, Dai, Hongying, wrote: > Dear R users, > > I'm wondering how I can generate an arbitrary number of loops in R. > For instance, I can generate two "for" loops to get ICC among any two-way > combination among 10 variables. Here is the code > > n<-10 > for (i in 1:(n-

Re: [Rd] CRAN policies

2012-03-29 Thread William Dunlap
Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On > Behalf > Of Matthew Dowle > Sent: Thursday, March 29, 2012 10:41 AM > To: r-de...@stat.math.ethz.ch > Subject: Re: [Rd] CRAN pol

Re: [Rd] CRAN policies

2012-03-29 Thread Matthew Dowle
William Dunlap tibco.com> writes: > > -Original Message- > > The survival package has a similar special case: the routines for > > expected population survival are set up to accept multiple types of date > > format so have lines like > > if (class(x) == 'chron') { y <- as.numeric(x -

[Rd] Vignettes and CRAN checks

2012-03-29 Thread Terry Therneau
I'l like to chime in on the subject of vignette checks. I have one vignette in the coxme library that would be better described as a white paper. It discusses the adequacy of the Laplace transform under various scenarios. It contains some substantial computations, so I'd like to mark it as "ne

Re: [Rd] CRAN policies

2012-03-29 Thread William Dunlap
> -Original Message- > From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On > Behalf > Of Terry Therneau > Sent: Thursday, March 29, 2012 7:02 AM > To: r-devel@r-project.org > Subject: Re: [Rd] CRAN policies > > On 03/29/2012 05:00 AM, r-devel-requ...@r-project.or

Re: [Rd] CRAN policies

2012-03-29 Thread Spencer Graves
On 3/29/2012 7:07 AM, Dirk Eddelbuettel wrote: On 29 March 2012 at 07:58, Brian G. Peterson wrote: | On Thu, 2012-03-29 at 16:52 +1300, Thomas Lumley wrote: |> The 'No visible binding for global variable" is a good example. This |> found some bugs in my 'survey' package, which I removed. There

Re: [Rd] CRAN policies

2012-03-29 Thread Dirk Eddelbuettel
On 29 March 2012 at 07:58, Brian G. Peterson wrote: | On Thu, 2012-03-29 at 16:52 +1300, Thomas Lumley wrote: | > The 'No visible binding for global variable" is a good example. This | > found some bugs in my 'survey' package, which I removed. There is | > still one note of this type, which arise

Re: [Rd] CRAN policies

2012-03-29 Thread Terry Therneau
On 03/29/2012 05:00 AM, r-devel-requ...@r-project.org wrote: The 'No visible binding for global variable" is a good example. This found some bugs in my 'survey' package, which I removed. There is still one note of this type, which arises when I have to handle two different versions of the hexbin

Re: [Rd] CRAN policies

2012-03-29 Thread peter dalgaard
On Mar 29, 2012, at 14:58 , Brian G. Peterson wrote: > On Thu, 2012-03-29 at 16:52 +1300, Thomas Lumley wrote: >> The 'No visible binding for global variable" is a good example. This >> found some bugs in my 'survey' package, which I removed. There is >> still one note of this type, which arises

Re: [Rd] How to create arbitrary number of loops

2012-03-29 Thread Sarah Goslee
That sounds like a job for recursion. And also, a question for r-help and not r-devel. Sarah On Wed, Mar 28, 2012 at 5:34 PM, Dai, Hongying, wrote: > Dear R users, > > I'm wondering how I can generate an arbitrary number of loops in R. > For instance, I can generate two "for" loops to get ICC a

Re: [Rd] CRAN policies

2012-03-29 Thread Brian G. Peterson
On Thu, 2012-03-29 at 16:52 +1300, Thomas Lumley wrote: > The 'No visible binding for global variable" is a good example. This > found some bugs in my 'survey' package, which I removed. There is > still one note of this type, which arises when I have to handle two > different versions of the hexbi

Re: [Rd] CRAN policies

2012-03-29 Thread Gabor Grothendieck
On Wed, Mar 28, 2012 at 11:52 PM, Thomas Lumley wrote: > On Thu, Mar 29, 2012 at 3:30 AM, Gabor Grothendieck > wrote: >> 2012/3/28 Uwe Ligges : >>> >>> >>> On 27.03.2012 20:33, Jeffrey Ryan wrote: Thanks Uwe for the clarification on what goes and what stays. Still fuzzy on the

[Rd] How to create arbitrary number of loops

2012-03-29 Thread Dai, Hongying,
Dear R users, I'm wondering how I can generate an arbitrary number of loops in R. For instance, I can generate two "for" loops to get ICC among any two-way combination among 10 variables. Here is the code n<-10 for (i in 1:(n-1)) { for (j in (i+1):n) { icc(cbind(DATA[,i],DATA[,j])) } } If I need