我正在尝试从 github 安装 Ehrlinger 的 l2boost。我试过使用:
> library(devtools)
> install_github('l2boost',username='ehrlinger')
这给出了以下输出:
Installing github repo(s) l2boost/master from ehrlinger
Installing l2boost.zip from https://github.com/ehrlinger/l2boost/archive/master.zip
Installing l2boost
"C:/PROGRA~1/R/R-215~1.3/bin/x64/R" --vanilla CMD build \
"C:\Users\user\AppData\Local\Temp\RtmpcBoWGu\l2boost-master" --no-manual --no-resave-data
* checking for file 'C:\Users\user\AppData\Local\Temp\RtmpcBoWGu\l2boost-master/DESCRIPTION' ... OK
* preparing 'l2boost':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* looking to see if a 'data/datalist' file should be added
* building 'l2boost_0.19.tar.gz'
"C:/PROGRA~1/R/R-215~1.3/bin/x64/R" --vanilla CMD INSTALL \
"C:\Users\USER\AppData\Local\Temp\RtmpcBoWGu/l2boost_0.19.tar.gz" --library="C:/Program \
Files/R/R-2.15.3/library" --with-keep.source
* installing *source* package 'l2boost' ...
** R
** data
** inst
** preparing package for lazy loading
** help
No man pages found in package 'l2boost'
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (l2boost)
我注意到的唯一错误是它没有找到任何帮助/手册页。但是,它似乎并没有实际安装任何功能:
> library(l2boost)
> predict.l2boost
Error: object 'predict.l2boost' not found
在C:\Program Files\R\R-2.15.3\library\l2boost\R
中,只有三个文件:l2boost
、l2boost.rdb
和l2boost.rdx
。该l2boost\data
文件夹至少成功安装diabetes.rda
。
为什么没有安装帮助和功能?是否可以使用 install_github 安装此软件包?