Skip to content

[R-pkg-devel] Unicode errors when building a package

3 messages · Ibon Tamayo, Max Turgeon

#
Dear all,

I am trying to fix all the error of my package. Most of them I know how to
solve them. But there are some errors related with unicode that I don't
know how to fix.

Flavor: r-devel-windows-ix86+x86_64
Check: PDF version of manual, Result: WARNING
  LaTeX errors when creating PDF version.
  This typically indicates Rd problems.
  LaTeX errors found:
  ! Package inputenc Error: Unicode char ?? (U+302)
  (inputenc)                not set up for use with LaTeX.

  See the inputenc package documentation for explanation.
  Type  H <return>  for immediate help.
  ! Package inputenc Error: Unicode char ?? (U+3C4)
  (inputenc)                not set up for use with LaTeX.

  See the inputenc package documentation for explanation.
  Type  H <return>  for immediate help.
  ! Package inputenc Error: Unicode char ?? (U+3C4)
  (inputenc)                not set up for use with LaTeX.


Any help will be appreciated,
All the best,
Ibon
#
Hi Ibon,

It looks like you have a couple non-ASCII characters in your documentation files. You can find which ones by running the command showNonASCIIfile in the tools package.

To address these warnings, you have two options:

  1.  Replace these non-ASCII characters with similar/equivalent ASCII ones.
  2.  Specify the encoding for the doc files; see this section of WRE: https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Encoding

Best,

Max Turgeon
#
Thanks Max and Fernando,

The Max's solution was the one worked for me.
Thanks,
All the best,
Ibon

El mi?, 17 feb 2021 a las 20:14, Max Turgeon (<Max.Turgeon at umanitoba.ca>)
escribi?: