From sfalcon at fhcrc.org  Tue Nov 28 01:56:30 2006
From: sfalcon at fhcrc.org (Seth Falcon)
Date: Mon, 27 Nov 2006 16:56:30 -0800
Subject: [Rd] Source references from the parser
In-Reply-To: <45692598.30606@stats.uwo.ca> (Duncan Murdoch's message of "Sun,
	26 Nov 2006 00:26:48 -0500")
References: <456890A8.2060908@stats.uwo.ca>
	<eb555e660611251212j54441315t3fbb439f724ed3e9@mail.gmail.com>
	<456908D2.6080409@stats.uwo.ca>
	<eb555e660611252000i453b6c41n6acd697dce9169ff@mail.gmail.com>
	<45692598.30606@stats.uwo.ca>
Message-ID: <m2ejro4ce9.fsf@ziti.fhcrc.org>

Hi Duncan, all,

Duncan Murdoch <murdoch at stats.uwo.ca> writes:
> This is now committed.
>
> I used keep.source, exactly the same as the option() that controls this 
> behaviour in other places.
>
> I decided to set the default to TRUE.  This means vignettes will all 
> look different in R-devel.  

I'd really like the default to be FALSE, at least for the upcoming
release.  As you note, the change will cause vignettes to look
different.  There are over 260 vignettes in the BioC source tree and
given that most developers have little extra time, I would rather they
not have to review these docs because of this change.

> The simplest way to get the previous 
> appearance is to put in
>
> \SweaveOpts{keep.source=FALSE}
>
> but in most cases I think people will want the new behaviour.  It's only 
> bad if the code was badly formatted or contained comments you don't want 
> to show up in the final document.

I'm glad the feature is there, I think it is desirable.  I hope to
turn this option on when I write new documents ;-)

+ seth



[Rd] Source references from the parser
Seth Falcon