Re: [R-pkg-devel] Disable a particular knitr vignette

2018-08-03 Thread Iñaki Úcar
For anyone interested, I finally managed to solve this, following a suggestion by Baptiste Auguie. TLDR; my yaml header reads as follows: output: if (packageVersion("rticles") < 0.5 || rmarkdown::pandoc_version() >= 2) rticles::jss_article else rmarkdown::html_vignette This fallback simply

Re: [R-pkg-devel] Disable a particular knitr vignette

2018-08-02 Thread Iñaki Úcar
El jue., 2 ago. 2018 a las 11:41, Henrik Bengtsson () escribió: > > As a workaround, until resolved, you could precompile your vignette > into a PDF and then use the 'R.rsp::asis' vignette engine > (%\VignetteEngine{R.rsp::asis} etc) to include it as a static PDF. > This is described in the

Re: [R-pkg-devel] Disable a particular knitr vignette

2018-08-02 Thread Henrik Bengtsson
As a workaround, until resolved, you could precompile your vignette into a PDF and then use the 'R.rsp::asis' vignette engine (%\VignetteEngine{R.rsp::asis} etc) to include it as a static PDF. This is described in the vignettes (https://cran.r-project.org/package=R.rsp). -Henrik On Thu, Aug 2,

[R-pkg-devel] Disable a particular knitr vignette

2018-08-02 Thread Iñaki Úcar
Hi everyone, I have a JSS vignette based on the rticles package. It was compiling just fine until rticles v0.5 for some reason started requiring pandoc v2.x for such a document class, and failing otherwise. Due to this requirement, Windows machines on CRAN show a nasty WARN, because they still