Closed mslynch closed 10 months ago
I think it's very rare for the Encoding
to be non-UTF-8.
I think it's very rare for the
Encoding
to be non-UTF-8.
That's my impression as well – and it should be ever rarer still for DESCRIPTION
to also contain characters that are only valid in latin-1. But we had a customer try to use a package like this (relaimpo
).
And particularly annoying in that case is that the only field that is non-ASCII is Packaged
, which is definitely not very important.
verified. worked fine for me install/call relaimpo
and deploy to both cloud and shinyapps which sounds like was a package with a DESCRIPTION encoded as UTF-8.
install.packages('relaimpo')
library(relaimpo)
shinyapps.io and Posit Cloud presume
manifest.json
to be valid JSON encoded in UTF-8. However, some of the data in this file comes fromDESCRIPTION
files, which may not be encoded in UTF-8. If we see thatDESCRIPTION
'sEncoding
field is not UTF-8, we should attempt to convert it.