r-hub / cranlogs

Download Logs from the RStudio CRAN Mirror
https://r-hub.github.io/cranlogs/
Other
80 stars 13 forks source link

Specify encoding in httr::content() #31

Closed lindbrook closed 5 years ago

lindbrook commented 5 years ago

cran_top_downloads() returns "No encoding supplied: defaulting to UTF-8." warning.

gaborcsardi commented 5 years ago

You don't get this for the other functions?

lindbrook commented 5 years ago

I saw that httr::content() appears elsewhere. But I think that cran_top_downloads() was the only function that returns the warning.

gaborcsardi commented 5 years ago

Oh, it is the server's fault. httr hasn't changed for a long time, so it is not that. Anyway, thanks!