r - 无法安装“baseballr”包
问题描述
我正在使用以下代码baseballr
从 GitHub 安装包:
require(devtools)
install_github("BillPetti/baseballr")
require(baseballr)
但是,我在运行时不断收到以下错误require(baseballr)
:
Loading required package: baseballr
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘baseballr’
另外,当我运行时install_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
无法正确安装。可以在此处找到该软件包的文档。
解决方案
推荐阅读
- html - 如何将一个 div 居中放置在另一个 div 内(只是一个较小的矩形在一个大的矩形内)?
- node.js - Sails JS 无法将路径参数作为对象并且无法修改它
- r - 函数内的 updateRadioButtons
- dialog - 在 LibreOffice 中,如何创建两组连续的单选按钮
- python - 熊猫从不同文件夹中读取多个文件
- node.js - node-oracledb get the output parameter
- ruby-on-rails - How to dynamically increment a counter inside fields_for?
- c# - 安卓设备上的表面灯闪烁
- react-native - 无法在 react-native 中安装 npm
- sql - 仅显示同一表格中的重叠日期范围