Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use_news_md doesn't work on (my) Windows #1885

Closed
stla opened this issue Aug 12, 2023 · 4 comments
Closed

use_news_md doesn't work on (my) Windows #1885

stla opened this issue Aug 12, 2023 · 4 comments

Comments

@stla
Copy link

stla commented Aug 12, 2023

Hello,

> usethis::use_news_md()
✔ Setting active project to 'C:/SL/MyPackages/giacR'
Error in ie_get_proxy_for_url(test_url) : 
  ERROR_WINHTTP_UNABLE_TO_DOWNLOAD_SCRIPT

Well, not very important, I can do the NEWS.md manually.

@stla
Copy link
Author

stla commented Sep 27, 2023

In fact, I get exactly the same error when I do curl::has_internet(). I'm using the laptop from my job, without admin rights. Would you know a workaround?

@ijlyttle
Copy link
Contributor

If your organization is like mine, you may need to set environment variables: https_proxy, http_proxy, no_proxy, and perhaps some variables that specify a path to a certificate-file.

Your org's IT dept should be able to tell you what those are.

@jennybc
Copy link
Member

jennybc commented Sep 27, 2023

Thanks @ijlyttle for these pointers. Yes it sounds like a rather non-specific problem that will affect various internet-using actions.

@stla
Copy link
Author

stla commented Sep 28, 2023

Ok, thank you. In fact, I have left this job but I kept the laptop ^^
So I cannot contact the IT dep.

@stla stla closed this as completed Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants