From 8523fb9f497e63a25cd0ca418ed630f7b0a851f2 Mon Sep 17 00:00:00 2001 From: El Potaeto Date: Wed, 18 Feb 2015 13:44:21 +0100 Subject: [PATCH] avoid error message --- R-package/R/xgb.importance.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R-package/R/xgb.importance.R b/R-package/R/xgb.importance.R index 7e55f7316..69995d9ef 100644 --- a/R-package/R/xgb.importance.R +++ b/R-package/R/xgb.importance.R @@ -128,4 +128,4 @@ linearDump <- function(feature_names, text){ # 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(".") +globalVariables(".", "Feature", "Split", "No", "Missing")