-
Notifications
You must be signed in to change notification settings - Fork 164
Conversation
@jrowen Thanks for submitting this! It's not working for me though, should this be a drop in replacement? |
@jrowen Disregard - after trying to figure it out myself I got it working and then looked back here and realized our solutions were nearly identical. I tried reloading your version and it works fine. Presumably operator error on my part. Thanks again! |
Glad it worked out. On Sun, Jul 12, 2015, 2:52 PM Jeff Gentry notifications@github.com wrote:
|
With @geoffjentry's merge into master, I was under the impression that I could just reinstall twitteR via |
This is working for me with httr v1.0 and the latest version of twitteR on On Mon, Jul 13, 2015, 7:01 AM Bryan Britten notifications@github.com
|
@theRanalyst It's interesting that you say that because I had the exact same problem at first when I was testing @jrowen PR. Then I went and fiddled with it for a bit and a while later tried it again (without reason to believe anything was different) and it worked. It could be that the local caching that httr does is invalid, I believe when I ran it the second time I was in a different directory. |
Here is what I get in a brand new R session:
|
@geoffjentry One thing I've noticed is that if I choose Yes when prompted to use a local file to cache OAuth, it doesn't create a .httr-oauth file as I would expect. It gets added to my .gitignore file, but there is no actual .httr-oauth file to access. It's possible this is causing me an issue as well. |
@theRanalyst One thing to try would be to do Hadley's demo by hand and then in a new R session try the new twitteR, as that's effectively what I did. As I said I also was in a different directory (I wasn't using RStudio) when it did work although not intentionally. Those are the only two things I can think of that happened between the first time I ran it and when it worked. You might try doing a find on .httr-oauth, perhaps it's getting created somewhere you don't expect? Not sure how that would work with RStudio. |
You can also try using Another option could be to remove all packages using |
@jrowen @geoffjentry Thanks for the advice. I've gone through what you've suggested and here's what I found. Using the debug function didn't help because it made it all the way through the function but then exited with the same error we were all getting before. However, working through Hadley's demo did help. The issue ended up being a package that wasn't installed. You have to have the
|
@theRanalyst good call on having the base64enc package loaded - that fixed things for me, thanks! |
I believe this fixes #90 by reimplementing the http v0.6 logic in this package.