Mikata-Project / ggthemr

Themes for ggplot2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

rfaelens opened this issue · comments

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