From john.maindonald at anu.edu.au  Tue Dec 21 09:23:21 2010
From: john.maindonald at anu.edu.au (John Maindonald)
Date: Tue, 21 Dec 2010 21:23:21 +1300
Subject: [Rd] Bug report 14459 -- procedure for handling follow-up issues
Message-ID: <C1D0177D-4E10-45CC-A4EE-B86E51B985B1@anu.edu.au>

Although the specific behaviour that was reported has been fixed, bugs 
remain in Sweave's processing of comment lines when keep.source=TRUE

This is in some senses a follow-up from earlier bugs.  Hence the query --
what is the preferred procedure, to submit a new bug report?  (Another option 
might be to add a comment to the web page for bug 14459.)

Is there now a preference to submit via the web page, rather than send a message
to r-bugs at r-project.org?  If so, the relevant paragraph in the FAQ surely requires 
updating:

<<<
On Unix-like systems a bug report can be generated using the function bug.report(). This automatically includes the version information and sends the bug to the correct address. Alternatively the bug report can be emailed to R-bugs at R-project.org or submitted to the Web page at http://bugs.R-project.org/. Please try including results of sessionInfo() in your bug report.
>>>

I have posted files test10.Rnw, test11.Rnw, and test12.Rnw that demonstrate the bugs at 
http://www.maths.anu.edu.au/~johnm/r/issues/
The output files test10.tex, test11.tex and test12.tex are from r53870 on 
x86_64-apple-darwin9.8.0/x86_64 (64-bit)

test10.Rnw has a code chunk that begins and ends with a comment.  
An NA appears following the final comment.  This disappears if I
remove the initial comment line.

test11.Rnw follows a comment line with a named code chunk.  The
comment line does not appear in the output.

test12.Rnw places a line of code between the comment line and the
named code chunk.  The comment line does now appear in the output.

John Maindonald             email: john.maindonald at anu.edu.au
phone : +61 2 (6125)3473    fax  : +61 2(6125)5549
Centre for Mathematics & Its Applications, Room 1194,
John Dedman Mathematical Sciences Building (Building 27)
Australian National University, Canberra ACT 0200.
http://www.maths.anu.edu.au/~johnm



[Rd] Bug report 14459 -- procedure for handling follow-up issues
John Maindonald