最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

r - Error: package or namespace load failed for ‘eurostat’ there is no package called ‘httr2’ - Stack Overflow

programmeradmin2浏览0评论

I tried installing the package "eurostat" and I keep getting this error:

install.packages("eurostat")
library(eurostat)

Error: package or namespace load failed for ‘eurostat’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘httr2’

error displayed in console part1 error displayed in console part2

The exact same error appears as well every time I try to activate the "eurostat" library.

I tried installing the "httr2" dependency manually but then I get this message: Warning in install.packages : installation of package ‘httr2’ had non-zero exit status

I tried uninstalling and re-installing these packages multiple times but it has the same outcome everytime. I also installed manually all "eurostat" dependencies at some point.

I have R version 4.4.2 so the problem shouldn't be there. I also tried restarting my PC a few times hoping that would solve it but no.

Does anyone know what I can do for "eurostat" package to install properly? I would very much appreciate advice.

发布评论

评论列表(0)

  1. 暂无评论