我目前无法从github安装软件包。我使用以下代码:
devtools :: install_github(“ r-lib / devtools”)
无论我尝试安装哪种软件包,都会出现以下错误:
> devtools::install_github("r-lib/devtools")
Downloading GitHub repo r-lib/devtools@master
C:\PROGRA~2\Gow\bin\tar.exe: Cannot fork: Function not implemented
C:\PROGRA~2\Gow\bin\tar.exe: Error is not recoverable: exiting now
External tar failed with `--force-local`, trying without
C:\PROGRA~2\Gow\bin\tar.exe: Cannot fork: Function not implemented
C:\PROGRA~2\Gow\bin\tar.exe: Error is not recoverable: exiting now
External tar failed with `--force-local`, trying without
Error: Does not appear to be an R package (no DESCRIPTION)
In addition: Warning messages:
1: In utils::untar(tarfile, ...) :
‘tar.exe -zxf "C:\Temp\Rtmp2lVT6X\file5a746f42501f.tar.gz" -C "C:/Temp/Rtmp2lVT6X/remotes5a7462fe495a"’ returned error code 2
2: In system(cmd, intern = TRUE) :
running command 'tar.exe -ztf "C:\Temp\Rtmp2lVT6X\file5a746f42501f.tar.gz"' had status 2
您有解决此问题的想法吗?
感谢和问候