更新时间:2022-01-25 08:41:04
我的同事遇到了同样的问题,我偶然发现此在R-Blogger上的发布,作者是Andrew Collier。下面的解决方案可以解决您的问题,但是我不知道它是否还会导致其他安全问题。
My colleague had the same issue and I stumbled on this post on R-Bloggers by Andrew Collier. The solution below will fix your problem, but I don't know if it might cause other security issues.
library(httr)
set_config(config(ssl_verifypeer = 0L))
更新:这将禁用ssl验证。 https://github.com/r-lib/httr/issues/262
update: This will disable ssl verification. https://github.com/r-lib/httr/issues/262