报错信息:

devtools::install_github("dengfei2013/GS")
Installation failed: An unknown option was passed in to libcurl

解决方法:

  • 下载github中的zip软件包, 在Centos中解压:
unzip xx.zip

解压完成后,会产生xx文件夹.

  • 进入R中, 载入devtools
library(devtools)
build("xx")

结果

 build("xx")
'/opt/R-3.4.4/build/lib64/R/bin/R' --no-site-file --no-environ --no-save  \
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building ‘xx.tar.gz’
  • 按照此包
install.packages("xx.tar.gz")

大功告成

欢迎关注我们
R语言与育种数据分析

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐