devtools install_githb 报错tar

时间:2021-06-04 17:44:21   收藏:0   阅读:14

报错信息

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Error in getrootdir(untar(src, list = TRUE)) : 
  length(file_list) > 0 is not TRUE

解决方案

在R中运行下面命令

options("download.file.method" = "libcurl")

原文:https://blog.51cto.com/yijiaobani/2858437

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!