[Rd] setGeneric() gives "must supply skeleton" when checking package

2013-02-03 Thread Tim Bergsma
r-devel, In a development version of the CRAN package metrumrg, I write ... require(reshape) setGeneric('cast') setOldClass(c('keyed','data.frame')) setMethod('cast','keyed', function ...) The result is satisfactory when sourcing the code directly, but when checking the package (which has 'resha

Re: [Rd] Bug: C-level and _set_rl_word_breaks

2013-02-03 Thread Laurent Gautier
On 2013-01-31 21:52, Laurent Gautier wrote: On 2013-01-31 21:09, Duncan Murdoch wrote: On 13-01-30 9:48 PM, Laurent Gautier wrote: Hi, I filed a bug report in the tracker (id #15169) a short while ago, along with a patch, but I came back to it to see that there is relatively little movement or

Re: [Rd] setGeneric() gives "must supply skeleton" when checking package

2013-02-03 Thread Martin Morgan
On 02/02/2013 02:34 PM, Tim Bergsma wrote: r-devel, In a development version of the CRAN package metrumrg, I write ... require(reshape) setGeneric('cast') setOldClass(c('keyed','data.frame')) setMethod('cast','keyed', function ...) The result is satisfactory when sourcing the code directly, bu

Re: [Rd] setGeneric() gives "must supply skeleton" when checking package

2013-02-03 Thread Martin Morgan
On 02/03/2013 09:36 AM, Martin Morgan wrote: On 02/02/2013 02:34 PM, Tim Bergsma wrote: r-devel, In a development version of the CRAN package metrumrg, I write ... require(reshape) setGeneric('cast') setOldClass(c('keyed','data.frame')) setMethod('cast','keyed', function ...) The result is sa

Re: [Rd] best practice for packages using mclapply to avoid tcltk

2013-02-03 Thread Simon Urbanek
As Peter pointed out earlier, this is better addressed by disabling the Tcl/Tk event loop in forked processes. Cheers, Simon On Feb 2, 2013, at 5:02 PM, Paul Johnson wrote: > Dear R-devel friends: > > I'm back to bother you again about the conflict between mclapply and > tcltk. I've been > mon

Re: [Rd] best practice for packages using mclapply to avoid tcltk

2013-02-03 Thread Matt Blackwell
Hi Simon, Sorry to be a bother, but is "disabling the Tcl/Tk event loop in the forked processes" something that a package maintainer should do? If so, how? Again, apologies if I've missed something obvious. I maintain a package (Amelia) that has an optional tcltk GUI that folks can use and we are

Re: [Rd] Suggestions for 'diff.default'

2013-02-03 Thread Suharto Anggono Suharto Anggono
Inspired by discussion in "Need very fast application of 'diff' - ideas?" (around https://stat.ethz.ch/pipermail/r-help/2012-January/301873.html), I have another suggestion. Suggestion 3: Make 'diff.default' run faster. For vector case (if suggestion 2 is not applied or if unclassed input is t