R:无法从Github安装gbm.auto软件包

时间:2020-06-03 10:03:27

标签: r github install.packages

我正在尝试通过github安装软件包 gbm.auto ,但是下载似乎无法正常进行。我该如何解决?我正在使用Windows 10 Pro(R版本3.6.1,Rstudio版本1.2.5042)。这是我得到的错误:

remotes :: install_github(“ SimonDedman / gbm.auto”)

Downloading GitHub repo SimonDedman/gbm.auto@master
√  checking for file 'C:\Users\Ststrubb\AppData\Local\Temp\RtmpOcwGGZ\remotes1d5c7c774f2a\SimonDedman-gbm.auto-96328bf/DESCRIPTION' ...
-  preparing 'gbm.auto': (359ms)
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  looking to see if a 'data/datalist' file should be added
-  building 'gbm.auto_1.2.4.tar.gz'

Installing package into ‘C:/Users/Ststrubb/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
* installing *source* package 'gbm.auto' ...
** using staged installation
** R
Error in parse(outFile) : 
  C:/Users/Ststrubb/AppData/Local/Temp/RtmpALsbRt/R.INSTALL7320575e5a03/gbm.auto/R/gbm.valuemap.R:462:0: unexpected end of input
460: beep(8)} # notify user & close function
461: 
    ^
ERROR: unable to collate and parse R files for package 'gbm.auto'
* removing 'C:/Users/***/Documents/R/win-library/3.6/gbm.auto'
Error: Failed to install 'gbm.auto' from GitHub:
  (converted from warning) installation of package ‘C:/Users/***/AppData/Local/Temp/RtmpOcwGGZ/file1d5c40b85311/gbm.auto_1.2.4.tar.gz’ had non-zero exit status

使用时出现相同的错误 githubinstall remotes :: install_github

0 个答案:

没有答案