Le 12/02/2021 à 08:45, Elysée Aristide a écrit : > Greetings, > > 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/> > https://win-builder.r-project.org/incoming_pretest/CDatanet_0.0.1_20210208_174258/Windows/00check.log > > > * 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().| |Best, Serguei.| | | > (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/> > https://win-builder.r-project.org/incoming_pretest/CDatanet_0.0.1_20210208_174258/Debian/00check.log > > 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@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel