[Rd] UTF-8 encoding issue with R CMD check with install-args="--latex"
Peter Ruckdeschel
peter@ruckde@che| @end|ng |rom web@de
Thu Jan 16 18:09:25 CET 2025
Hi,
this is to report some minor UTF-8 encoding issue with R CMD check with option --install-args="--latex"
(and possibly more install-args).
More specifically, in my Windows system (see the cloud link below for details on my system), but also
on the Linux machine of my collaborator Matthias Kohl (CC), the following command throws errors:
R CMD check --install-args="--latex" <pkg>_<version>.tar.gz
I.e., at this command, when checking the pdf version of the manual, pdflatex throws an error of type
===
* checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
! Undefined control sequence.
l.37 \inputencoding
{utf8}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
===
This is certainly not an urgent issue.
Option --install-args="--latex" can be removed without harm for me, it somehow survived in my set
of (Windows) batch files I use to build, check, and install my R packages on Windows, which,
admittedly, makes me a rare species in the R ecosystem.
Still, it would be nice to understand why this happens, so any hints would be warmly welcome.
Some more details on my testing configuration and my first insights into this error can be found
here: https://cloudstorage.uni-oldenburg.de/s/kStWp5PNiwJEqfz
Best, Peter Ruckdeschel
[[alternative HTML version deleted]]
More information about the R-devel
mailing list