Re: [Rd] Bounty on Error Checking

2013-01-04 Thread Bert Gunter
Well... On Thu, Jan 3, 2013 at 10:00 AM, ivo welch ivo.we...@anderson.ucla.edu wrote: Dear R developers---I just spent half a day debugging an R program, which had two bugs---I selected the wrongly named variable, which turns out to have been a scalar, which then happily multiplied as if it

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread Laurent Gautier
On 2013-01-04 12:00, r-devel-requ...@r-project.org wrote: Message: 16 Date: Thu, 3 Jan 2013 22:52:44 + From: Ben Bolker bbol...@gmail.com To: r-de...@stat.math.ethz.ch Subject: Re: [Rd] Bounty on Error Checking Message-ID: loom.20130103t234406-...@post.gmane.org Content-Type: text/plain;

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread Matthew Dowle
On Fri, Jan 3, 2013, Bert Gunter wrote Well... On Thu, Jan 3, 2013 at 10:00 AM, ivo welch ivo.welch at anderson.ucla.edu wrote: Dear R developers---I just spent half a day debugging an R program, which had two bugs---I selected the wrongly named variable, which turns out to have been a

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread Duncan Murdoch
On 13-01-04 8:32 AM, Matthew Dowle wrote: On Fri, Jan 3, 2013, Bert Gunter wrote Well... On Thu, Jan 3, 2013 at 10:00 AM, ivo welch ivo.welch at anderson.ucla.edu wrote: Dear R developers---I just spent half a day debugging an R program, which had two bugs---I selected the wrongly named

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread Matthew Dowle
On 04.01.2013 14:03, Duncan Murdoch wrote: On 13-01-04 8:32 AM, Matthew Dowle wrote: On Fri, Jan 3, 2013, Bert Gunter wrote Well... On Thu, Jan 3, 2013 at 10:00 AM, ivo welch ivo.welch at anderson.ucla.edu wrote: Dear R developers---I just spent half a day debugging an R program, which

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread Duncan Murdoch
On 04/01/2013 9:51 AM, Matthew Dowle wrote: On 04.01.2013 14:03, Duncan Murdoch wrote: On 13-01-04 8:32 AM, Matthew Dowle wrote: On Fri, Jan 3, 2013, Bert Gunter wrote Well... On Thu, Jan 3, 2013 at 10:00 AM, ivo welch ivo.welch at anderson.ucla.edu wrote: Dear R developers---I just

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread Ben Bolker
On 13-01-04 07:48 AM, Laurent Gautier wrote: On 2013-01-04 12:00, r-devel-requ...@r-project.org wrote: Message: 16 Date: Thu, 3 Jan 2013 22:52:44 + From: Ben Bolker bbol...@gmail.com To: r-de...@stat.math.ethz.ch Subject: Re: [Rd] Bounty on Error Checking Message-ID:

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread Matthew Dowle
On 04.01.2013 14:56, Duncan Murdoch wrote: On 04/01/2013 9:51 AM, Matthew Dowle wrote: On 04.01.2013 14:03, Duncan Murdoch wrote: On 13-01-04 8:32 AM, Matthew Dowle wrote: On Fri, Jan 3, 2013, Bert Gunter wrote Well... On Thu, Jan 3, 2013 at 10:00 AM, ivo welch ivo.welch at

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread Duncan Murdoch
On 04/01/2013 10:15 AM, Matthew Dowle wrote: On 04.01.2013 14:56, Duncan Murdoch wrote: On 04/01/2013 9:51 AM, Matthew Dowle wrote: On 04.01.2013 14:03, Duncan Murdoch wrote: On 13-01-04 8:32 AM, Matthew Dowle wrote: On Fri, Jan 3, 2013, Bert Gunter wrote Well... On Thu, Jan 3,

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread Matthew Dowle
On 04.01.2013 15:22, Duncan Murdoch wrote: On 04/01/2013 10:15 AM, Matthew Dowle wrote: On 04.01.2013 14:56, Duncan Murdoch wrote: On 04/01/2013 9:51 AM, Matthew Dowle wrote: On 04.01.2013 14:03, Duncan Murdoch wrote: On 13-01-04 8:32 AM, Matthew Dowle wrote: On Fri, Jan 3, 2013, Bert

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread ivo welch
gents---first, thanks a lot for paying some attention to my suggestion. I always write programs with options(warn=2). but it doesn't cover everything. In particular, my code is littered with hand tests that the dimensions are correct and that variables are defined: stopifnot(is.data.frame(d)

Re: [Rd] Small changes to big objects (1)

2013-01-04 Thread John Chambers
One point that came up in the CRAN checks, that I should have made explicit: The new version of @- has to move from the methods package to base. Therefore you should not (and can not) explicitly import it from methods--that will fail in the import phase of installation. John On 1/3/13 11:08

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread Duncan Murdoch
On 04/01/2013 10:38 AM, Matthew Dowle wrote: On 04.01.2013 15:22, Duncan Murdoch wrote: On 04/01/2013 10:15 AM, Matthew Dowle wrote: On 04.01.2013 14:56, Duncan Murdoch wrote: On 04/01/2013 9:51 AM, Matthew Dowle wrote: On 04.01.2013 14:03, Duncan Murdoch wrote: On 13-01-04 8:32 AM,

Re: [Rd] Bug in R CMD check for \ in Rd?

2013-01-04 Thread Yihui Xie
Just a follow-up: I decided to avoid backslashes in function arguments, so the problem is now gone for me. But I believe the possible bug is still in R; if anyone wants to reproduce the problem, please check out this commit: https://github.com/yihui/knitr/tree/bf793ca6