Re: [Rd] Problems building package at CRAN

2009-11-12 Thread Dominick Samperi
Thanks Marc, sounds like a plausible theory. I'll check it out... Dominick Marc Schwartz wrote: On Nov 12, 2009, at 11:25 AM, Dominick Samperi wrote: Hello, I submitted the package RcppTemplate to CRAN a couple of weeks ago but the Mac OS X binary has not appeared, and the person in charge of

Re: [Rd] Problems building package at CRAN

2009-11-12 Thread Marc Schwartz
On Nov 12, 2009, at 11:25 AM, Dominick Samperi wrote: Hello, I submitted the package RcppTemplate to CRAN a couple of weeks ago but the Mac OS X binary has not appeared, and the person in charge of that process (Simon) suspects that the problem may be due to a "nested DESCRIPTION file" so th

[Rd] Problems building package at CRAN

2009-11-12 Thread Dominick Samperi
Hello, I submitted the package RcppTemplate to CRAN a couple of weeks ago but the Mac OS X binary has not appeared, and the person in charge of that process (Simon) suspects that the problem may be due to a "nested DESCRIPTION file" so that "Package:" becomes RcppTemplateRcppTemplate, or someth

[Rd] Problems building package at CRAN

2009-11-12 Thread Dominick Samperi
Hello, I submitted the package RcppTemplate to CRAN a couple of weeks ago but the Mac OS X binary has not appeared, and the person in charge of that process (Simon) suspects that the problem may be due to a "nested DESCRIPTION file" so that "Package:" becomes RcppTemplateRcppTemplate, or someth

Re: [Rd] typo in docs for unlink()

2009-11-12 Thread Martin Maechler
> Duncan Murdoch > on Thu, 12 Nov 2009 06:36:53 -0500 writes: > Martin Maechler wrote: >>> "SF" == Seth Falcon >>> on Wed, 11 Nov 2009 18:49:12 -0800 writes: >>> >> SF> On 11/11/09 2:36 AM, Duncan Murdoch wrote: >> >> On 10/11/2009 11:16 PM,

Re: [Rd] sapply improvements

2009-11-12 Thread Duncan Murdoch
I've just added a version of the improvements to R-devel. After some discussion, we decided this should be a new function, not just a new arg to sapply, and I chose vapply from among the 52 different suggestions that were offered. The usage is vapply(X, FUN, FUN.VALUE, ..., USE.NAMES = TRUE

Re: [Rd] typo in docs for unlink()

2009-11-12 Thread Martin Maechler
> "KH" == Kurt Hornik > on Thu, 12 Nov 2009 12:15:49 +0100 writes: ((only to R-core, not R-devel -- I think R-devel is find and so back-post there )) > Martin Maechler writes: > "HenrikB" == Henrik Bengtsson > on Wed, 11 Nov 2009 15:29:06 +0100 writes: Henrik

Re: [Rd] typo in docs for unlink()

2009-11-12 Thread Duncan Murdoch
Martin Maechler wrote: "SF" == Seth Falcon on Wed, 11 Nov 2009 18:49:12 -0800 writes: SF> On 11/11/09 2:36 AM, Duncan Murdoch wrote: >> On 10/11/2009 11:16 PM, Tony Plate wrote: >>> PS, I should have said that I'm reading the docs for unlink in >>> R-2.10.0 on

Re: [Rd] S4 objects in the data directory

2009-11-12 Thread Prof Brian Ripley
On Thu, 12 Nov 2009, Robin Hankin wrote: Hi [R-2.10.0; suse linux] I am having difficulty creating S4 objects in the data directory of a package. I want to create a bunch of simple S4 objects for use in the examples section of the Rd files. It says in R-exts that: " R code should be “self

Re: [Rd] unname() returns a named vector when the input vector has length 0

2009-11-12 Thread Martin Maechler
> "HP" == Hervé Pagès > on Wed, 11 Nov 2009 21:20:57 -0800 writes: HP> Hi, >> x <- c(aa=22, bb=555) >> unname(x[FALSE]) HP> named numeric(0) Thank you, Hervé, I'm about to commit a simple fix for that. Martin __ R-devel@r-

[Rd] S4 objects in the data directory

2009-11-12 Thread Robin Hankin
Hi [R-2.10.0; suse linux] I am having difficulty creating S4 objects in the data directory of a package. I want to create a bunch of simple S4 objects for use in the examples section of the Rd files. It says in R-exts that: " R code should be “self-sufficient” and not make use of extra fun

Re: [Rd] typo in docs for unlink()

2009-11-12 Thread Martin Maechler
> "HenrikB" == Henrik Bengtsson > on Wed, 11 Nov 2009 15:29:06 +0100 writes: HenrikB> On Wed, Nov 11, 2009 at 12:55 PM, Duncan Murdoch wrote: >> Henrik Bengtsson wrote: >>> >>> On Wed, Nov 11, 2009 at 11:36 AM, Duncan Murdoch >>> wrote: >>> >

Re: [Rd] typo in docs for unlink()

2009-11-12 Thread Martin Maechler
> "SF" == Seth Falcon > on Wed, 11 Nov 2009 18:49:12 -0800 writes: SF> On 11/11/09 2:36 AM, Duncan Murdoch wrote: >> On 10/11/2009 11:16 PM, Tony Plate wrote: >>> PS, I should have said that I'm reading the docs for unlink in >>> R-2.10.0 on a Linux system. The docs th