[R-pkg-devel] bioRxiv Preprint as Vignette
Henrik Bengtsson
henr|k@bengt@@on @end|ng |rom gm@||@com
Sat Nov 30 21:18:50 CET 2019
Disclaimer, I'm the author: You can include a static PDF using the
R.rsp::asis vignette engine:
https://cran.r-project.org/web/packages/R.rsp/vignettes/R_packages-Static_PDF_and_HTML_vignettes.pdf
Better is if you've got the LaTeX source (with figures etc.), then use
the R.rsp::tex vignette engine:
https://cran.r-project.org/web/packages/R.rsp/vignettes/R_packages-LaTeX_vignettes.pdf
/Henrik
PS. On a side, should LaTeX-to-PDF (as in R.rsp::tex) be part of base
R? That seems non-controversial to me. In contrast, including static
PDFs and HTMLs requires a debate whether this is a good thing or not,
e.g. the risk of decoupling/losing the original source artifact and
it's only the final PDF/HTML artifact that is archived on CRAN.
On Sat, Nov 30, 2019 at 11:56 AM Charith Karunarathna
<charith_karunarathna using sfu.ca> wrote:
>
> Hi,
>
>
> I am just wondering about how I can include a bioRxiv preprint as the vignette of my R package. It's a pdf file already in bioRxiv. Could you please let me know how I can include that file as vignette?
>
>
> Thank you in advance!
>
>
> Charith.
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
More information about the R-package-devel
mailing list