This is a pretty weird issue I'm having and I don't quite get it.
I have an rmarkdown file in my main R directory. It uses
library (googlesheets) as one of the packages. Nothing much. It is fine and it works.
When I'm trying to save this file in my blogdown site repository, it starts to misbehave: it stops at the
googlesheets step. I tried copying the file, or copying the code and saving as a new file, running inside and outside of the project...
The error I get is:
Quitting from lines 9-17 (cv.Rmd) Error in httpuv::startServer(use$host, use$port, list(call = listen)) : Failed to create server Calls: <Anonymous> ... init_oauth2.0 -> oauth_authorize -> oauth_listener -> <Anonymous>
OBVIOUSLY, I've restarted R session. One doc knits and the other doesn't. They are IDENTICAL. I just don't get it.
Also, what kind of reproducible example I could provide, given the fact that it works and doesn't work on my machine at the same time?