[R-pkg-devel] Error occurring only when I submit to CRAN
@ergue|@@oko| @end|ng |rom gm@||@com
Fri Feb 12 09:53:22 CET 2021
Le 12/02/2021 à 08:45, Elysée Aristide a écrit :
> I submitted my package CDatanet <https://github.com/ahoundetoungan/CDatanet>.
> Before that I checked (as CRAN) locally on Linux and Windows and I did not
> get any error. I only get a note about my address mail (which is normal).
> However, when I submitted the package to CRAN, I got a warning and an error
> with the Window server: <http://goog_371023383/>
> * checking PDF version of manual ... WARNING
> LaTeX errors when creating PDF version.
> This typically indicates Rd problems.
> LaTeX errors found:
> ! Package inputenc Error: Unicode char ‐ (U+2010)
This is a frequent source of errors. Somewhere in your manual there is a
unicode 2010 hyphen "‐" ( https://www.compart.com/fr/unicode/U+2010 )
instead of plain ASCII hyphen "-". They look pretty similar, don't they?
May be you did some copy/paste from e.g. a pdf file and thus got this
character in your texts.
Supposing that it is not so critical for your documentation to have
U+2010 char, you can replace it by a hyphen from your keyboard. To spot
its exact place you can try |tools::showNonASCIIfile().|
> (inputenc) not set up for use with LaTeX.
> See the inputenc package documentation for explanation.
> Type H <return> for immediate help.
> * checking PDF version of manual without hyperrefs or index ... ERROR
> * checking for detritus in the temp directory ... OK
> * DONE
> Status: 1 ERROR, 1 WARNING, 1 NOTE
> while the Debian server is ok: <http://goog_371023385/>
> How can I fix this given that I am not able to reproduce the error locally?
> Thank you very much for your help.
> *Aristide Elysée HOUNDETOUNGAN*
> *Ph.D. Candidate in Economics at Université Laval*
> *Personal website : *www.ahoundetoungan.com
> [[alternative HTML version deleted]]
> R-package-devel using r-project.org mailing list
[[alternative HTML version deleted]]
More information about the R-package-devel