我试图安装软件包“圆圈”,我有困难解决似乎是一个简单的错误。
当我跑步时:
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”不可用 正在加载命名空间'GlobalOptions‘0.11,但需要>= 0.0.12。
当我运行sessionInfo()时,我在“其他附加包”下面看到:1 GlobalOptions_0.0.11
我最好的猜测是,我有错误的GlobalOptions版本--我看到了GlobalOptions v0.0.13是可用的这里,但是对于R来说,我不知道该怎么做才能得到正确的版本并运行。
如果有人能告诉我下一步该去哪里,我会非常感激的。(我查看了该链接中的文档,但我仍然不知道现在该做什么。)谢谢!
发布于 2018-05-09 22:11:43
如果你有R版>=3.3.0,你应该
GlobalOptions_0.0.13
install.packages("GlobalOptions")circlize。如果您有一个较旧的R版本,请先将R更新为更新的版本。
https://stackoverflow.com/questions/50262593
复制相似问题