In case more people want to check this out, the minimal example package can be
downloaded from https://owncloud.gwdg.de/index.php/s/ejhN3vd51572e27
Saying (in an UTF-8 locale)
R CMD check minimal_1.0.tar.gz
reproduces the described problem, whereas
PDFLATEX=lualatex \
RD2PDF_INPUTENC='inputenc
Thanks again! I see now that having Japanese characters in the pdf help is much
more difficult to put into practice than I thought.
I can imagine that it is not desirable for CRAN package checks if packages try
to set all sorts of environment variables that make them perform in
unpredictable wa
В Thu, 18 May 2023 12:48:01 +
"Schuhmacher, Dominic"
пишет:
> By the way, what is the recommended way of setting environment
> variables like PDFLATEX and (possibly) RD2PDF_INPUTENC in a package
> (if this is something that is allowed on CRAN)?
I don't think there is a supported way of doin
Hi Ivan,
Thanks for the extensive answer. Both
PDFLATEX=xelatex R CMD Rd2pdf .
and
PDFLATEX=lualatex R CMD Rd2pdf .
work for me (for the whole package doc).
And yes, in both cases I need to inject code in the preamble of the .tex file.
In fact for lualatex (which I prefer from my experience with
В Wed, 17 May 2023 12:05:49 +
"Schuhmacher, Dominic"
пишет:
> checking PDF version of manual ... WARNING
> LaTeX errors when creating PDF version.
> This typically indicates Rd problems.
> LaTeX errors found:
> ! Package inputenc Error: Unicode character 冷 (U+51B7)
> (inputenc) not set up for
On 18.05.2023 10:03, Martin Maechler wrote:
Schuhmacher, Dominic
on Wed, 17 May 2023 12:05:49 + writes:
> Dear list, I have a package
> https://github.com/dschuhmacher/kanjistat whose very
> purpose depends on working with Japanese kanji characters
> (in UTF-8 en
> Schuhmacher, Dominic
> on Wed, 17 May 2023 12:05:49 + writes:
> Dear list, I have a package
> https://github.com/dschuhmacher/kanjistat whose very
> purpose depends on working with Japanese kanji characters
> (in UTF-8 encoding). Such characters appear vitally in