[R] consolidate importFrom-s; parameter style

This commit is contained in:
Vadim Khotilovich
2016-06-27 01:50:03 -05:00
parent b9aeeda074
commit 8473b18c3d
2 changed files with 22 additions and 13 deletions

View File

@@ -12,11 +12,12 @@ S3method(slice,xgb.DMatrix)
export("xgb.attr<-")
export("xgb.attributes<-")
export("xgb.parameters<-")
export(cb.early_stop)
export(cb.log_evaluation)
export(cb.print_evaluation)
export(cb.reset_parameters)
export(cb.save_model)
export(cb.cv.predict)
export(cb.early.stop)
export(cb.evaluation.log)
export(cb.print.evaluation)
export(cb.reset.parameters)
export(cb.save.model)
export(getinfo)
export(print.xgb.Booster)
export(print.xgb.DMatrix)
@@ -51,7 +52,6 @@ importFrom(Matrix,sparseVector)
importFrom(data.table,":=")
importFrom(data.table,as.data.table)
importFrom(data.table,data.table)
importFrom(data.table,fread)
importFrom(data.table,rbindlist)
importFrom(data.table,setnames)
importFrom(magrittr,"%>%")
@@ -59,5 +59,6 @@ importFrom(stringr,str_detect)
importFrom(stringr,str_extract)
importFrom(stringr,str_match)
importFrom(stringr,str_replace)
importFrom(stringr,str_replace_all)
importFrom(stringr,str_split)
useDynLib(xgboost)