安装devtools时发生错误“跳过pax全局扩展头”

时间:2019-04-16 13:29:13

标签: r devtools

我正在尝试使用以下代码将devtools的开发版本从github安装到R Open 3.5.1:

library(devtools)
devtools::install_github("r-lib/devtools")

我第一次尝试得到此输出/错误:

Downloading GitHub repo r-lib/devtools@master
√  checking for file 'C:\Users\JT\AppData\Local\Temp\Rtmp8Cq1sJ\remotes215c357871af\r-lib-devtools-ab6c878/DESCRIPTION'
 1.  preparing 'devtools':
√  checking DESCRIPTION meta-information ... 
 2.  checking for LF line-endings in source and make files and shell scripts
 3.  checking for empty or unneeded directories
 4.  building 'devtools_2.0.2.9000.tar.gz'

 5. installing *source* package 'devtools' ...
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded
Warning: package 'usethis' was built under R version 3.5.3
 6. DONE (devtools)
In R CMD INSTALL
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

当我第二次运行相同的代码时,我收到以下消息:

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

我的问题是3倍:

  1. “跳过pax全局扩展头”是什么意思?这有问题吗?
  2. 尽管出现警告消息,但devtools的安装仍可正常进行吗?在我的“软件包”列表中,有一个`devtools 2.0.2.9000的条目,因此我认为它有效。
  3. 这是否与使用R Open或R Open不是最新的R(v3.5.1与v3.5.3)有关?

谢谢。

0 个答案:

没有答案