[R-pkg-devel] How to provide a finalized PDF file in a package?
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.... Gabor On Tue, Jan 21, 2020 at 4:30 PM Henrik Bengtsson
<henrik.bengtsson at gmail.com> wrote:
It sounds like you want the PDF to have it appear as a package vignette. You can use the R.rsp::asis vignette engine (https://cran.r-project.org/package=R.rsp) to add static PDFs as vignettes to your package. The PDF is included as-is during the package *build* process (R CMD build) like other package vignettes and you don't have to LaTeX or other tools installed. See https://cran.r-project.org/web/packages/R.rsp/vignettes/R_packages-Static_PDF_and_HTML_vignettes.pdf for instructions. /Henrik (disclaim: I'm the author) On Tue, Jan 21, 2020 at 7:50 AM neonira Arinoem <neonira at gmail.com> wrote:
I create a cheat sheet using MS-OFFICE and converted it at a PDF format.
I wonder in which folder of my package I should place it to be installed
with the package.
I tried instinctively in vignettes, but it doesn't seem to work correctly,
as I do not find it back in my package installation folder.
Best.
Neonira
[[alternative HTML version deleted]]
______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel