From murdoch@dunc@n @ending from gm@il@com  Mon Jul  2 16:56:10 2018
From: murdoch@dunc@n @ending from gm@il@com (Duncan Murdoch)
Date: Mon, 2 Jul 2018 10:56:10 -0400
Subject: [Rd] Parametrized Vignettest in R packages
In-Reply-To: <CAAjnpdhaeX+=RXCmq3g7jwYQZanfvps1q5i5znmynAGqxb1MPw@mail.gmail.com>
References: <CAAjnpdhaeX+=RXCmq3g7jwYQZanfvps1q5i5znmynAGqxb1MPw@mail.gmail.com>
Message-ID: <129b8986-700f-20bc-fefd-b813df73d06c@gmail.com>

On 02/07/2018 10:30 AM, Witold E Wolski wrote:
> Hello,
> 
> I have a package which includes some parameterized r-markdown report
> which I would also like to build as package vignettes.
> 
> Is there a way to run the parameterized vignette creation with the
> package build or package check?


Doesn't the usual method work?  You can specify defaults for parameters 
in the YAML header; I'd expect those to be the parameter values that get 
used.

You can give instructions to your users on how to rebuild the reports 
with different parameters.

Duncan Murdoch

> 
> Thank you
>



[Rd] Parametrized Vignettest in R packages
Duncan Murdoch