mkearney / tweetbotornot

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

Unable to install package #4

Closed bitskipper closed 6 years ago

bitskipper commented 6 years ago

Hi there.

I am very keen on testing out your package on R, but I have been unable to install this package from the steps you have provided. I have tried this on multiple computers, to no avail. This is error message that I have been getting:

`Downloading GitHub repo mkearney/botornot@master from URL https://api.github.com/repos/mkearney/botornot/zipball/master Installing botornot '/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save \ --no-restore --quiet CMD INSTALL \ '/private/var/folders/8r/4b1mddcd5_d2_89fyb8x2_4r0000gn/T/RtmpPZMT3N/devtools8be10fdd7ef/mkearney-botornot-780fb5e' \ --library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' --install-tests

During startup - Warning messages: 1: Setting LC_CTYPE failed, using "C" 2: Setting LC_TIME failed, using "C" 3: Setting LC_MESSAGES failed, using "C" 4: Setting LC_MONETARY failed, using "C"

I hope you can help me out! Your project really excites me, and I can't wait to get started with this package. Thank you!

shyamvalsan commented 6 years ago

Yes, I see this error too on installing. @mkearney did the dataandme.R file make it into the package by error :-)

mkearney commented 6 years ago

Sorry, all. I'm in the middle of an overhaul. I've compiled a list of over 8,000 bots, and I've added a lot more features, so I should have a new model retrained and repackaged in here in the next few days. Although I think I added the dataandme.R file to the .Rbuildignore but it's entirely possible I forgot 👼

shyamvalsan commented 6 years ago

Neat, will wait for it. I've been compiling a huge list of twitter user ids to run botornot on, that's bound to take a few days anyway.

mkearney commented 6 years ago

The guts of the overhaul is done, so the package should now be functional with one additional step (explained below). I'll still probably run some more checks, add to the documentation, and hopefully get the embedded application of rtweet fixed before submitting to CRAN.

I'm currently waiting on a dependency to be accepted by CRAN. Until then, you should be able to use this package by first installing the dependency from Github:

## install dep that's not yet on CRAN
devtools::install_github("mkearney/textfeatures")

## install botornot
devtools::install_github("mkearney/botornot")

You'll also need to make sure you are authorized to interact with Twitter's APIs.

mkearney commented 6 years ago

textfeatures is now on CRAN!

atish-ajgekar commented 5 years ago

Hello,

I am trying to install the package but I am getting the following error:

Error : (converted from warning) unable to re-encode 'features-exp.R' line 85 ERROR: unable to collate and parse R files for package 'tweetbotornot'