mkearney / tweetbotornot

🤖 R package for detecting Twitter bots via machine learning
https://tweetbotornot.mikewk.com
Other
388 stars 137 forks source link

Error in tolower(char_v) : invalid input #22

Open oganm opened 5 years ago

oganm commented 5 years ago

I am getting an error that suggests the package is successful in getting tweets in but fails at processing them.

tweetbotornot('oganm')
Error in tolower(char_v) : 
  invalid input ' poor harry í ½í¸¢' in 'utf8towcs'

The "poor harry" is indeed one of my tweets but it seems to be having troubles with it. This is a windows machine so there might be some unexpected encoding issues

sevetseh28 commented 5 years ago

I'm getting the same error and I'm using Windows 10.

oganm commented 5 years ago

Looking at your error in the other issue, it seems like it could be about emojis

oganm commented 5 years ago

I have confirmed that this at least system specific. On an Ubuntu 16.04 everything worked just fine