我正在尝试使用以下代码将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倍:
devtools
的安装仍可正常进行吗?在我的“软件包”列表中,有一个`devtools 2.0.2.9000的条目,因此我认为它有效。谢谢。