Avoid some Cran check error messages

This commit is contained in:
El Potaeto
2015-01-21 13:26:34 +01:00
parent 34e2fbd2c4
commit e475b7d84e
6 changed files with 22 additions and 2 deletions

View File

@@ -162,3 +162,8 @@ xgb.model.dt.tree <- function(feature_names = NULL, filename_dump = NULL, model
allTrees
}
# Avoid error messages during CRAN check.
# The reason is that these variables are never declared
# They are mainly column names inferred by Data.table...
globalVariables("ID", "Tree", "Yes", ".", "Feature", "Cover", "Quality", "No", "Gain", "Frequence")