This call is acceptable with Sweave with both driver=RWeaveLatex() and driver=cacheSweaveDriver
Writing to file simple-illustration.tex
Processing code chunks with options ...
1 : term hide (label = sectionsetup)
but throws an error when using a driver=pgfSweaveDriver
Error in driver$setup(file = file, syntax = syntax, ...) :
unused argument(s) (prefix.string = "figures/fig")```
This is in general way of specifying global options without having to include a line in the file. Please add the support for specifying options in this way.
This call is acceptable with Sweave with both
driver=RWeaveLatex()anddriver=cacheSweaveDriverbut throws an error when using a
driver=pgfSweaveDriver