-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use only ASCII characters in R code #6
Comments
@nfrerebeau Not really, but you have to define UTF-8 in the DESCRIPTION file. |
Encoding is already defined in DESCRIPTION: Line 34 in 14165c7
Am I missing somthing? |
Got it; I saw the error now. It comes from the column names with µm etc. OK, I have no immediate solution. |
@nfrerebeau I browsed a little bit through the problem. The Unicode characters are used mainly for the units in the tables. R supports a portable way for Unicode characters, but only in character strings. It does not work for column names because all characters are prompted as is. I see one solution by using tibbles instead of base R data frames. They can handle the encoding properly. For instance, colnames(df) <- "\u00B5"
df[1,]
|
Portable packages must use only ASCII characters in their R code.
The text was updated successfully, but these errors were encountered: