1.安装 FirebrowseR报错:
devtools::install_github("mariodeng/FirebrowseR")
错误提示如下:
Downloading GitHub repo mariodeng/FirebrowseR@master
error in running commandsh: 1: /bin/gtar: not found
gzip: stdout: Broken pipe
error in running command‘/bin/gzip -dc '/tmp/RtmpRul9zI/file10826a1e9697.tar.gz' | /bin/gtar -xf '-' -C '/tmp/RtmpRul9zI/remotes108273a90f54'’ returned error code 127error in running commandsh: 1: /bin/gtar: not found
gzip: stdout: Broken pipe
Error in length(file_list) > 0 : error in running command
解决办法:
options(unzip = "internal")
devtools::install_github("mariodeng/FirebrowseR")
仍然没有解决问题,错误提示也没有变化
在终端执行命令:sudo ln -s /bin/tar /bin/gtar
然后重试上面的安装命令:devtools::install_github("mariodeng/FirebrowseR")
即可解决问题
参考:release function error · Issue #379 · r-lib/devtools · GitHub
网友评论