Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uprenv behind a corporate Proxy. Improve documentation? #146
Comments
|
I'm going to consider it a success that I've added some documentation to the Getting Started vignette to give some hints as to how to configure |
|
Seems good. Perhaps change the last paragraph to: See the curl documentation on [proxies](https://ec.haxx.se/usingcurl-proxies.html) and [config files](https://ec.haxx.se/cmdline-configfile.html) for more details.And perhaps add the example _curlrc and drop the keywords ntlm and sspi, something along the lines: This config file works with a common proxy setup in a windows environment (authentication with ntlm and sspi):
```
--proxy "your.proxy.dns:port"
--proxy-ntlm
--proxy-user ":"
--insecure
```In the best case it works for the user, else he has some keywords to start googling or asking his IT support. The curl packages has the helper function I struggled mostly with the following points:
-Then the _curlrc format first i had As an after thought: Yesterday i was just a bit frustrated about how simple the solution is, but i wasted a lot of time to get the configuration right. |
|
Thank you for the feedback -- it is hugely appreciated. I've updated the documentation with that example, and also altered how |
Like in #64 we have an awful man in the middle Proxy using Windows logins (SSPI) and the ntlm authentication protocol. A good explanation is found in this stackoverflow answer. To make matter worse, the bundled curl is removed from our windows image.
renv::install()fails:I found a simple solution in the end, but it was cumbersome to find all the pieces of information:
• Install curl with
renv::equip()• Create following _curlrc in
Sys.getenv("HOME")orSys.getenv("R_USER")The double quotes are important.
:is interpreted as separator. See curl/curl#3738 (comment)edit: Added console output for successful install