-
Notifications
You must be signed in to change notification settings - Fork 12
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
Unicode characters in data column names throw an error in naWhere #15
Comments
Would you mind sending me the data? I'll probably implement the |
@samFarrellDay I am not proprietary of the data but I could make an artificial set and post it here. So far I have found out that Unicode also impacts the It would be really useful for documents and Shiny. |
@samFarrellDay The script below generates a
The script converted "c" vector from list x to Unicode inside
Thank you! |
I have the following data
associated with these
naWhere
,varp
andvarn
Calculating the leftout columns, throws the following error:
Checking
varp
againstcolnames(naWhere)
:It seems to still be working when comparing
varp
againstvarn
:The error seems to be caused by the presence of unicode characters in names although it seems to be no challenge for
varp
andvarn
, as shown by the last code line above. However,using either
seq_along
orbase::enc2native
functions seems to remove the error:Please advise, thank you!
The text was updated successfully, but these errors were encountered: