ipeaGIT / aopdata

Download data from the Access to Opportunities Project (AOP)
https://ipeagit.github.io/aopdata/
13 stars 4 forks source link

non-ASCII characters #13

Closed rafapereirabr closed 3 years ago

rafapereirabr commented 3 years ago

The function rm_accent() currently throws this WARNING with CMD Check:

checking R files for non-ASCII characters ... WARNING Found the following file with non-ASCII characters: utils.R Portable packages must use only ASCII characters in their R code, except perhaps in comments. Use \uxxxx escapes for other characters.

rafapereirabr commented 3 years ago

Maybe this can help:

library(stringi)
stringi::stri_escape_unicode("à")