[Rd] vignette/knitr help

Mick Jordan mick.jordan at oracle.com
Tue May 3 23:50:27 CEST 2016


On 5/3/16 12:19 PM, Thierry Onkelinx wrote:
> Dear Mick,
>
> knitr doesn't depends on rmarkdown. It's the vignette that depends on
> both knitr (for handle the R chunks) and rmarkdown (for the output
> format rmarkdown::html_vignette).
>
> https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Package-Dependencies
> states: "The ‘Suggests’ field ...snip...  lists packages that are not
> necessarily needed. This includes packages used only in examples,
> tests or vignettes  ...snip...   Then it is not necessary to have bar
> use foo unless one wants to execute all the examples/tests/vignettes"
>
> So packages in Suggests might be required to compile vignettes.
>
Ok, I get it now, and a more careful reading of the Writing Extensions 
manual would have helped prevent the surprise. Anyway, FastR can't 
handle knitr yet so I am backing off to testing types=c("examples, "tests").

Thanks
Mick



More information about the R-devel mailing list