You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see since #649 the DESCRIPTION file must have Encoding: UTF-8. This seems sensible; however, I notice that in Writing R Extensions it says:
Do not specify an encoding unless one is actually needed: doing so makes the package less portable.
I'm reluctant to ignore warnings from roxygen2, but for my package the Encoding field is not "actually needed" and so I'm reluctant to add it. I don't know enough about encodings to suggest a fix.
The text was updated successfully, but these errors were encountered:
- since r-lib/roxygen2#649 (`roxygen2` >= v6.1.0) warns if a `DESCRIPTION` file does not explicitly define its encoding as UTF-8
- this commits adds encoding information to the DESCRIPTION file even if it may be at odds with `Writing R Extensions` (https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Encoding-issues), but see r-lib/roxygen2#774
- at least, this works for me locally and eliminates the `roxygen2` warning "roxygen2 requires Encoding: UTF-8"
I see since #649 the DESCRIPTION file must have Encoding: UTF-8. This seems sensible; however, I notice that in Writing R Extensions it says:
I'm reluctant to ignore warnings from roxygen2, but for my package the
Encoding
field is not "actually needed" and so I'm reluctant to add it. I don't know enough about encodings to suggest a fix.The text was updated successfully, but these errors were encountered: