fix error message during check
This commit is contained in:
parent
e06c1da842
commit
5687af9774
@ -57,4 +57,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"))
|
||||
globalVariables(c("Feature","Gain", "Cluster"))
|
||||
Loading…
x
Reference in New Issue
Block a user