install_github()安装包出错

遇到很久的一个问题,用devtools::install_github()
安装github上的包总是报错,Installation failed: 调用命令时发生了错误

现在终于解决了,设置options(unzip = 'internal')
如果是链接问题可设置
options(download.file.method = "wget")
or
options(download.file.method = "libcurl")

> devtools::install_github('ramnathv/rCharts')
Downloading GitHub repo ramnathv/rCharts@master
from URL https://api.github.com/repos/ramnathv/rCharts/zipball/master
Installation failed: 调用命令时发生了错误

> options(unzip = 'internal')
> devtools::install_github('ramnathv/rCharts')
Downloading GitHub repo ramnathv/rCharts@master
from URL https://api.github.com/repos/ramnathv/rCharts/zipball/master
Installing rCharts
'/home/q/miniconda2/lib/R/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  '/tmp/RtmpxWnjnJ/devtools3b6d527fb677/ramnathv-rCharts-479a4f9'  \
  --library='/home/q/miniconda2/lib/R/library' --install-tests 

* installing *source* package ‘rCharts’ ...
** R
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (rCharts)

https://github.com/hadley/devtools/issues/406

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 179,886评论 25 708
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 136,920评论 19 139
  • ActiveMQ™ASF Using ActiveMQ 5 > Version 5 Getting Started...
    曹振华阅读 819评论 0 0
  • 此刻在浙江杭州西湖旁,对于刚刚开起来的工作室的我,这次出来无疑是种巨大的挑战,最近在开工作室的过程中,看到自...
    Monaa阅读 405评论 1 7
  • 姓名:赵丽萍 公司:宁波大发化纤有限公司 组别:第264期努力二组 【日精进打卡第96天】 【知~学习】 《六项精...
    zhaoliping阅读 115评论 0 0

友情链接更多精彩内容