2018-03-20 5:12 GMT+01:00 Jennifer Bryan :
> Hi Tim,
>
> Here's a rather long thread from previous discussions of this:
>
> https://stat.ethz.ch/pipermail/r-devel/2014-May/069113.html
>
> These two lines from R CMD check suggest the two ways the vignette code
> will be run:
>
> * checking running
Hi Tim,
Here's a rather long thread from previous discussions of this:
https://stat.ethz.ch/pipermail/r-devel/2014-May/069113.html
These two lines from R CMD check suggest the two ways the vignette code
will be run:
* checking running R code from vignettes ... OK
* checking re-building of vig
On 2018-03-20 06:17, Johannes Ranke wrote:
...
The idea exposed by Dirk is the same: requireNamespace will find the
package on CRAN and will set eval=TRUE. What you want though is to
avoid running a chunk on CRAN, even if the package is available. So
you need to set eval=FALSE *unconditionally
...
> The idea exposed by Dirk is the same: requireNamespace will find the
> package on CRAN and will set eval=TRUE. What you want though is to
> avoid running a chunk on CRAN, even if the package is available. So
> you need to set eval=FALSE *unconditionally*.
Or conditional on the package versi
2018-03-20 4:04 GMT+01:00 Tim Keitt :
> http://www.keittlab.org/
>
> On Mon, Mar 19, 2018 at 6:41 AM, Dirk Eddelbuettel wrote:
>
>>
>> On 18 March 2018 at 21:57, Tim Keitt wrote:
>> | That's a great idea, however my problem is with building a vignette, not
>> | running tests, unless they are linke
http://www.keittlab.org/
On Mon, Mar 19, 2018 at 6:41 AM, Dirk Eddelbuettel wrote:
>
> On 18 March 2018 at 21:57, Tim Keitt wrote:
> | That's a great idea, however my problem is with building a vignette, not
> | running tests, unless they are linked in some way I'm not understanding.
>
> Similar
http://www.keittlab.org/
On Mon, Mar 19, 2018 at 3:29 AM, Thierry Onkelinx
wrote:
> You can make things even a bit easier by setting "eval=myeval" and set
> "myeval <- FALSE" at the top of the vignette. In case you want to update
> the figures, you only have to set "myeval <- TRUE" and run the v
http://www.keittlab.org/
On Mon, Mar 19, 2018 at 2:18 AM, Iñaki Úcar wrote:
> 2018-03-19 3:57 GMT+01:00 Tim Keitt :
> > http://www.keittlab.org/
> >
> > On Sun, Mar 18, 2018 at 8:14 PM, Dirk Eddelbuettel
> wrote:
> >
> >>
> >> Tim,
> >>
> >> On 18 March 2018 at 18:58, Tim Keitt wrote:
> >> | I
On 18 March 2018 at 21:57, Tim Keitt wrote:
| That's a great idea, however my problem is with building a vignette, not
| running tests, unless they are linked in some way I'm not understanding.
Similar idea applies: condition, just as Inaki and Thierry suggested. An
example for a conditional vig
You can make things even a bit easier by setting "eval=myeval" and set
"myeval <- FALSE" at the top of the vignette. In case you want to update
the figures, you only have to set "myeval <- TRUE" and run the vignette.
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government o
2018-03-19 3:57 GMT+01:00 Tim Keitt :
> http://www.keittlab.org/
>
> On Sun, Mar 18, 2018 at 8:14 PM, Dirk Eddelbuettel wrote:
>
>>
>> Tim,
>>
>> On 18 March 2018 at 18:58, Tim Keitt wrote:
>> | I have an Rmd vignette that runs some benchmarks. It takes long enough
>> (20+
>> | minutes) that eg Tr
http://www.keittlab.org/
On Sun, Mar 18, 2018 at 8:14 PM, Dirk Eddelbuettel wrote:
>
> Tim,
>
> On 18 March 2018 at 18:58, Tim Keitt wrote:
> | I have an Rmd vignette that runs some benchmarks. It takes long enough
> (20+
> | minutes) that eg TravisCI will choke. I've not tried submitting to CRA
Tim,
On 18 March 2018 at 18:58, Tim Keitt wrote:
| I have an Rmd vignette that runs some benchmarks. It takes long enough (20+
| minutes) that eg TravisCI will choke. I've not tried submitting to CRAN.
| What is the best practice for handling this situation? Do I generate
| HTML/PDF output locall
I have an Rmd vignette that runs some benchmarks. It takes long enough (20+
minutes) that eg TravisCI will choke. I've not tried submitting to CRAN.
What is the best practice for handling this situation? Do I generate
HTML/PDF output locally and try to make them static? The vignette builder
is knit
14 matches
Mail list logo