Mikata-Project / ggthemr

Themes for ggplot2.
886 stars 107 forks source link

DESCRIPTION file states UTF-8 encoding, but uses ANSI codeset #53

Open rfaelens opened 2 years ago

rfaelens commented 2 years ago

renv fails to install ggthemr, because the DESCRIPTION file does not match the stated UTF-8 encoding.

The offender is "Daróczi", where the ó character is written in ANSI, but is an invalid 0xF3 character in UTF-8. Instead, you should be using "Daróczi".

Please convert the DESCRIPTION file to UTF-8, e.g. by using Notepad++ Encoding->Convert to UTF-8.

Reprex:

renv::install("Mikata-Project/ggthemr")

Error message: DESCRIPTION file at 'C:/Users/XXXX/R-4.1/x86_64-w64-mingw32/ggthemr/DESCRIPTION' is empty