From 0c8b6e2008bdf3934a40379df0355f0a1e8d66e7 Mon Sep 17 00:00:00 2001 From: El Potaeto Date: Tue, 28 Apr 2015 15:23:23 +0200 Subject: [PATCH] Suppress a Note in Cran check --- R-package/R/xgb.plot.importance.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R-package/R/xgb.plot.importance.R b/R-package/R/xgb.plot.importance.R index 3efc3fda9..eb0f8e346 100644 --- a/R-package/R/xgb.plot.importance.R +++ b/R-package/R/xgb.plot.importance.R @@ -54,4 +54,4 @@ xgb.plot.importance <- function(importance_matrix = NULL, numberOfClusters = c(1 # 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", "Gain", "Cluster")) +globalVariables(c("Feature", "Gain", "Cluster", "ggplot", "aes", "geom_bar", "coord_flip", "xlab", "ylab", "ggtitle", "theme", "element_blank", "element_text"))