В Fri, 2 Aug 2024 11:10:59 +0000 Rolf Turner <rolftur...@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 ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel