[R-pkg-devel] rhub (version 2) baulking at building a vignette.
Ivan Krylov
|kry|ov @end|ng |rom d|@root@org
Fri Aug 2 15:12:34 CEST 2024
В Fri, 2 Aug 2024 11:10:59 +0000
Rolf Turner <rolfturner using posteo.net> пишет:
> The advice was to the effect that if the vignette was actually just a
> *.tex file, one could (after putting in some preparatory code, in the
> form of comments, before the documentclass command) pre-process the
> file (with pdflatex) and the build would use the *.pdf file that was
> created, without any processing being required.
I think that you are looking for the "asis" vignette engine from the
R.rsp package:
https://cran.r-project.org/package=R.rsp/vignettes/R_packages-Static_PDF_and_HTML_vignettes.pdf
> Now I want to build a Windoze binary of the package.
If the vignette uses LaTeX packages unavailable on the computer (rhub2
virtual machine) running R CMD build or R CMD check, that would indeed
not work. Not sure about CRAN.
Since your package doesn't seem to contain any native code, wouldn't
the Windows users be satisfied with a source package? Unless running R
CMD build --no-build-vignettes, it will include the PDF file.
--
Best regards,
Ivan
More information about the R-package-devel
mailing list