当我在项目中使用RENV软件包时,我可以安装SF软件包
我在Rstudio启动了一个新项目,并选择了使用Renv的选项。我要做的第一件事是键入命令install.packages('sf'),然后返回了下面的消息。如何进行?
> install.packages('sf')
Error: package 'sf' is not available
In addition: Warning messages:
1: could not retrieve available packages for url "https://cran.rstudio.com/src/contrib"
2: could not retrieve available packages for url "https://cran.rstudio.com/bin/windows/contrib/4.1"
3: curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - A função de revogação não pôde verificar a revogação do certificado.
4: package 'sf' is not available
5: failed to retrieve 'https://rstudio-buildtools.s3.amazonaws.com/renv/mran/packages.rds' [error code 35]
I started a new project in Rstudio and selected the option to use renv. The first thing I did was type the command install.packages('sf') and R returned the message below. How to proceed?
> install.packages('sf')
Error: package 'sf' is not available
In addition: Warning messages:
1: could not retrieve available packages for url "https://cran.rstudio.com/src/contrib"
2: could not retrieve available packages for url "https://cran.rstudio.com/bin/windows/contrib/4.1"
3: curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - A função de revogação não pôde verificar a revogação do certificado.
4: package 'sf' is not available
5: failed to retrieve 'https://rstudio-buildtools.s3.amazonaws.com/renv/mran/packages.rds' [error code 35]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我发生了同样的事情。
最后,我发现Avast勒索软件模块正在阻止连接。尝试禁用您的防病毒软件,看看会发生什么。
The same thing happened to me.
In the end, I found that the Avast Ransomware Module was blocking the connection. Try disabling your antivirus and see what happens.
正如@kevinushey所指出的那样,我能够下载它:
As @KevinUshey pointed, I was able to download it with: