2

我打开 RStudio 并输入

install.packages('rJava')

它工作正常。

然后我加载已renv初始化的包并尝试相同的命令并返回:

Error: package 'rJava' is not available
In addition: Warning messages:
1: curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. 
2: curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. 
> 

可能是什么原因?

更新

我决定尝试一些激进的东西:

remove.packages('renv')

它和工作

但后来我重新启动了 R 会话并回来了

# Bootstrapping renv 0.13.1 --------------------------------------------------
* Downloading renv 0.13.1 ... OK
* Installing renv 0.13.1 ... Done!
* Successfully installed and loaded renv 0.13.1.

有没有办法摆脱renv

另一个更新:

我能够停用 renvrenv::deactive()

4

0 回答 0