Parses an Rnw file.
parseVignette(pathname, commentPrefix="^[ \t]*%[ \t]*", final=FALSE, source=FALSE,
maxLines=-1L, ...)
The Rnw file to be parsed.
A regular expression specifying the prefix pattern of vignette comments.
If TRUE
, the output PDF or HTML file is also located.
If TRUE
, the output R source code file is also located.
The maximum number of lines to scan.
Not used.
Returns a named list
or NULL if a non-vignette.