This blog is updated daily.
A general description is here.
The Sweave driver ‘Rtangle’ no longer puts empty lines at the end of tangled scripts.
The Sweave driver ‘RweaveLatex’ now allows the value of logical and numerical chunk options (only) to be the name of an object defined in earlier, evaluated code chunks. This is useful to pass computed values to options. For options set this way for weaving purposes, the ‘Rtangle’ driver rather uses their default values, with a warning. By Vincent Goulet.
The Sweave driver ‘RweaveLatex’ gains an option to include unparsable R code or arbitrary text in code chunks. Chunks marked as ‘ignore.on.weave = TRUE’ are completely ignored on weaving, i.e., not even parsed. The chunks however remain written out verbatim on tangling.
Similarly, the driver ‘Rtangle’ gains an option to control the extraction of code chunks. Chunks marked as ‘ignore.on.tangle=TRUE’ are processed as usual on weaving, but left out of the tangled scripts (or thrown away when ‘split=TRUE’).
The drivers also support the shorter aliases ‘weave’ for ‘!ignore.on.weave’, and ‘tangle’ for ‘!ignore.on.tangle’. A further option ‘ignore’, available for both drivers, sets ‘ignore.on.weave’ and ‘ignore.on.tangle’ at once.
By Vincent Goulet.
The Sweave driver ‘Rtangle’ now provides an option ‘chunk.sep’ to control the separator between code chunks in tangled scripts (with an unchanged default of ‘\n\n’). Using ‘check.sep=FALSE’ omits the separator (between two chunks when used as a chunk option). By Vincent Goulet.
The Sweave driver ‘Rtangle’ now provides an option ‘extension’ to specify the extension, without the leading dot, for the file name of a tangled code chunk when splitting is selected (the option has no effect with ‘split=FALSE’). If ‘TRUE’, the default extension of ‘Rtangle’ (usually ‘.R’) is used; if ‘FALSE’, no extension is added to the file name. By Vincent Goulet.
New function ‘SweaveGetSourceName’ in package ‘utils’ to obtain the name of the file being woven by an ‘Sweave’ process launched from the command line. By Vincent Goulet.
