【发布时间】:2018-10-20 02:47:12
【问题描述】:
我正在尝试安装“circlize”包,但我无法解决看似简单的错误。
当我跑步时:
install.packages("circlize")
上面写着:
Installing package into ‘*file location*/3.2’
(as ‘lib’ is unspecified)
Warning in install.packages :
dependency ‘GlobalOptions’ is not available
There is a binary version available but the source version is later:
binary source needs_compilation
circlize 0.3.10 0.4.3 FALSE
installing the source package ‘circlize’
trying URL 'https://mirrors.sorengard.com/cran/src/contrib/circlize_0.4.3.tar.gz'
Content type 'application/x-gzip' length 2456906 bytes (2.3 MB)
downloaded 2.3 MB
* installing *source* package 'circlize' ...
** package 'circlize' successfully unpacked and MD5 sums checked
** R
** demo
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'GlobalOptions' 0.0.11 is being loaded, but >= 0.0.12 is required
ERROR: lazy loading failed for package 'circlize'
* removing '*file location*/3.2/circlize'
Warning in install.packages :
running command '"*file location*/x64/R" CMD INSTALL -l "*file location*\3.2" *file location*/downloaded_packages/circlize_0.4.3.tar.gz' had status 1
Warning in install.packages :
installation of package ‘circlize’ had non-zero exit status
The downloaded source packages are in
‘*file location*\downloaded_packages’
这些部分似乎与我最相关:
依赖“GlobalOptions”不可用
namespace 'GlobalOptions' 0.0.11 正在加载,但 >= 0.0.12 是必需的
当我运行 sessionInfo() 时,我在“其他附加包”下看到:[1] GlobalOptions_0.0.11
我最好的猜测是我的 GlobalOptions 版本错误——我看到 GlobalOptions v0.0.13 可用here,但是对于 R 来说是新手,我不确定现在该怎么做才能获得正确的版本启动并运行。
如果有人能告诉我接下来应该看哪里,我将不胜感激。 (我查看了该链接中的文档,但我仍然不知道现在该做什么。)谢谢!
【问题讨论】:
标签: r version updates install.packages circlize