[R-pkg-devel] How to provide a finalized PDF file in a package?

Ralf Stubner r@||@@tubner @end|ng |rom gm@||@com
Tue Jan 21 17:58:14 CET 2020


On Tue, Jan 21, 2020 at 5:50 PM Gábor Csárdi <csardi.gabor using gmail.com> wrote:
>
> While R.rsp is a great workaround, I wish we had a better solution for
> including a static PDF file in a package, one that does not require 6
> additional packages to leave a file exactly as it is....

One can use a Sweave vignette and simply include the real PDF with the
pdfpages package, c.f.
https://github.com/RcppCore/Rcpp/blob/master/vignettes/Rcpp-introduction.Rnw

cheerio
ralf



More information about the R-package-devel mailing list