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
> sessionInfo() R version 4.4.1 (2024-06-14) Platform: x86_64-pc-linux-gnu Running under: Ubuntu 22.04.4 LTS Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/atlas/libblas.so.3.10.3 LAPACK: /usr/lib/x86_64-linux-gnu/atlas/liblapack.so.3.10.3; LAPACK version 3.10.0 locale: [1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_GB.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_GB.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C time zone: Pacific/Auckland tzcode source: system (glibc) attached base packages: [1] stats graphics grDevices datasets utils methods base other attached packages: [1] brev_0.0-8 loaded via a namespace (and not attached): [1] vctrs_0.6.5 cli_3.6.3 rlang_1.1.4 stringi_1.8.4 [5] purrr_1.0.2 pkgload_1.4.0 promises_1.3.0 shiny_1.8.1.1 [9] xtable_1.8-4 glue_1.7.0 htmltools_0.5.8.1 httpuv_1.6.15 [13] pkgbuild_1.4.4 ellipsis_0.3.2 fastmap_1.2.0 lifecycle_1.0.4 [17] memoise_2.0.1 stringr_1.5.1 compiler_4.4.1 miniUI_0.1.1.1 [21] sessioninfo_1.2.2 fs_1.6.4 htmlwidgets_1.6.4 Rcpp_1.0.13 [25] urlchecker_1.0.1 later_1.3.2 digest_0.6.36 R6_2.5.1 [29] usethis_2.2.3 magrittr_2.0.3 tools_4.4.1 mime_0.12 [33] devtools_2.4.5 bspm_0.5.7 profvis_0.3.8 remotes_2.5.0 [37] cachem_1.1.0
______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel