fix a bug introduced in previous commit

This commit is contained in:
El Potaeto
2015-01-21 13:31:17 +01:00
parent e475b7d84e
commit f1d9fe8153
3 changed files with 8 additions and 2 deletions

View File

@@ -88,4 +88,7 @@ xgb.plot.tree <- function(feature_names = NULL, filename_dump = NULL, model = NU
DiagrammeR(path, width, height)
}
globalVariables("Feature", "yesPath", "ID", "Cover", "Quality", "Split", "Yes", "Yes.Feature", "noPath", "No", "No.Feature", ".")
# 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(c("Feature", "yesPath", "ID", "Cover", "Quality", "Split", "Yes", "Yes.Feature", "noPath", "No", "No.Feature", "."))