Can';t安装&x27;baseballr';包裹

Can';t安装&x27;baseballr';包裹,r,devtools,R,Devtools,我使用以下代码从GitHub安装baseballr包: require(devtools) install_github("BillPetti/baseballr") require(baseballr) 但是,在运行require(baseballr)时,我不断遇到以下错误: 另外,当我运行install\u github(“BillPetti/baseballr”)时,我得到以下错误: package ‘glue’ successfully unpacked and MD5 sums ch

我使用以下代码从GitHub安装
baseballr
包:

require(devtools)
install_github("BillPetti/baseballr")
require(baseballr)
但是,在运行
require(baseballr)
时,我不断遇到以下错误:

另外,当我运行
install\u github(“BillPetti/baseballr”)
时,我得到以下错误:

package ‘glue’ successfully unpacked and MD5 sums checked
Error: (converted from warning) cannot remove prior installation of package ‘glue’
In addition: Warning messages:
1: In untar2(tarfile, files, list, exdir) :
  skipping pax global extended headers
2: In untar2(tarfile, files, list, exdir) :
  skipping pax global extended headers

devtools
安装正确,但我不确定为什么
baseballr
无法正确安装。可以找到该软件包的文档。

运行
install\u github(“BillPetti/baseballr”)
时是否有任何输出?您显示的错误消息仅来自
require()
,对吗?当我运行
install\u github(“BillPetti/baseballr”)时
我被告知有些软件包有更新的版本可用。然后我输入
1
更新所有软件包,我得到以下错误:
package'glue'成功解包,MD5 sums checked错误:(从警告转换)无法删除先前安装的包“glue”,另外:警告消息:1:在untar2(tarfile,files,list,exdir)中:跳过pax全局扩展头2:在untar2(tarfile,files,list,exdir)中:跳过pax global extended headers
我修改了我的问题以显示这一点。您使用的是什么版本的R?如果它无法删除以前的版本,您的工作区中可能已经加载了某些内容。请尝试重新启动R,然后运行
安装\u github
命令。此外,请尝试不安装较新版本的pa除非它们是必需的。我使用的是3.5.2版,这不是一个理想的解决方案,但您应该能够通过添加
upgrade=“ask”
来避免升级
glue
,运行
install\u github(“BillPetti/baseballr”)
时您是否得到任何输出?您显示的错误消息只是来自
require()
,对吗?当我运行
install\u github(“BillPetti/baseballr”
时,我被告知有些软件包有更新的版本可用。然后我输入
1
更新所有软件包,我得到以下错误:
软件包“glue”成功解包,MD5总和检查错误:(从警告转换而来)无法删除先前安装的包“glue”,另外:警告消息:1:在untar2(tarfile,files,list,exdir)中:跳过pax全局扩展头2:在untar2(tarfile,files,list,exdir)中:跳过pax global extended headers
我修改了我的问题以显示这一点。您使用的是什么版本的R?如果它无法删除以前的版本,您的工作区中可能已经加载了某些内容。请尝试重新启动R,然后运行
安装\u github
命令。此外,请尝试不安装较新版本的pa除非需要,否则将进行打包。我使用的是3.5.2版,这不是一个理想的解决方案,但您应该能够通过添加
upgrade=“ask”
来避免升级
glue
package ‘glue’ successfully unpacked and MD5 sums checked
Error: (converted from warning) cannot remove prior installation of package ‘glue’
In addition: Warning messages:
1: In untar2(tarfile, files, list, exdir) :
  skipping pax global extended headers
2: In untar2(tarfile, files, list, exdir) :
  skipping pax global extended headers