[R-pkg-devel] rhub (version 2) baulking at building a vignette.
Rolf Turner
ro||turner @end|ng |rom po@teo@net
Fri Aug 2 13:10:59 CEST 2024
Some time back, in the mists of memory, I got advice (on this list, I'm
pretty sure) about building vignettes. 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.
Being a Bear of Very Little Brain (and understanding almost nothing of
the underlying intricacies) I simply followed instructions. It seemed
to work, I was able to build and install the package containing the
vignette in question.
Now I want to build a Windoze binary of the package. Trying to do this
with rhub led to a failure. The build process seemed to ignore the
pre-processed *.pdf file, tried to create it, and complained that
pdflatex was not available.
I raised an "issue" about this on rhub:
https://github.com/r-hub/rhub/issues/629
I got a response from the redoubtable Gábor Csárdi saying that
when he tried a local build of my package, the build command threw
effectively the same error as did rhub. So there's "something about my
system" that is different. What could it be?
I have attached my session info in a *.txt file, to avoid cluttering the
email window too much.
If anyone should wish to experiment, they can clone the package in
question (I think!) by executing:
git clone https://github.com/rolfTurner/kanova.git
Can anyone give me some avuncular advice as to how:
(a) to get rhub_check() to use the pre-compiled file testStat.pdf, or
(b) to make pdflatex available to rhub_check()
(c) to do something else that will permit me to build a Windoze binary
using rhub?
Grateful for any tips.
cheers,
Rolf Turner
--
Honorary Research Fellow
Department of Statistics
University of Auckland
Stats. Dep't. (secretaries) phone:
+64-9-373-7599 ext. 89622
Home phone: +64-9-480-4619
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sessionInfo.txt
URL: <https://stat.ethz.ch/pipermail/r-package-devel/attachments/20240802/3c051ce6/attachment.txt>
More information about the R-package-devel
mailing list