From mick.jordan at oracle.com  Tue May  3 23:50:27 2016
From: mick.jordan at oracle.com (Mick Jordan)
Date: Tue, 3 May 2016 14:50:27 -0700
Subject: [Rd] vignette/knitr help
In-Reply-To: <CAJuCY5yp7PGVi_EuGT6=ThuLsbwYCo0mTd4JL-1wPZTjhJKnDQ@mail.gmail.com>
References: <5728E988.9010207@oracle.com>
	<CAJuCY5znayA7AGATc6hz3oy-OpfQvxHV+jethpP-UwyHV+3vwg@mail.gmail.com>
	<5728F662.7090903@oracle.com>
	<CAJuCY5yp7PGVi_EuGT6=ThuLsbwYCo0mTd4JL-1wPZTjhJKnDQ@mail.gmail.com>
Message-ID: <57291D23.3010104@oracle.com>

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



[Rd] vignette/knitr help
Mick Jordan