-
Notifications
You must be signed in to change notification settings - Fork 65
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
unable to install httr2 #708
Comments
Can you please give me more details about how you are installing httr2 and what operating system you are using? |
Hello, @hadley! I'm also experiencing this problem. I am on Windows (11), and here is the error I keep getting (It seems to be the same as @annalena13) Loading required package: httr2 https://cran.rstudio.com/bin/windows/Rtools/ There is a binary version available but the source version is later: installing the source package ‘httr2’ trying URL 'https://cran.rstudio.com/src/contrib/httr2_1.1.2.tar.gz'
The downloaded source packages are in |
Yeah, looks like the problem is that you're trying to install the source version of httr2, but as the message says you don't have any of the tools needed to build it. I'd suggest using the binary, which you'll probably just get if you wait another day or two, or using pak to install it instead: install.packages("pak")
pak::pak("httr2") |
Thank you for your response, @hadley. I eventually got it (httr2) installed using VSCode. But for the future and knowledge-sake, what do you mean by waiting one/two days? How does that connect with the problem- not having a tool to build? I tried installing the tool I download from CRAN link (gotten from the error message at the terminal) but it says "the program does not support the version of Windows your computer is running". Thank you for your response, again! |
CRAN usually builds the binaries for you, but if you try and install just after httr2 has been released the binaries might not have been built yet. |
Thanks for the explanation! |
Hi, I am unable to install httr2,
I keep getting this message:
Warnung in system("sh ./configure.win") 'sh' not found
ERROR: configuration failed for package 'httr2'
The text was updated successfully, but these errors were encountered: