pablobarbera / twitter_ideology

Estimating Ideological Positions with Twitter Data
GNU General Public License v2.0
212 stars 74 forks source link

Bug fix and various small changes #3

Closed leeper closed 9 years ago

leeper commented 9 years ago

This started out as a quick fix to a bug in the plot method (the previous code was calling a global object called user, so if there were multiple getFriends calls only the username for user, if any, would be used to display the results).

While I was in the code, though, I thought I would fix some other things most of which are minor things to comply with R CMD check.

The second commit swaps all calls to cat() to message() which is the preferred way of printing to the console because it can be redirected.

pablobarbera commented 9 years ago

@leeper This is great, thanks so much for your contribution!