Fix the "No visible binding" CRAN checks (#1504)

* fix cran check

* change required R version because of utils::globalVariables
This commit is contained in:
Tong He
2016-08-26 10:24:04 -07:00
committed by Tianqi Chen
parent d754ce7dc1
commit 170b349f3e
5 changed files with 17 additions and 3 deletions

View File

@@ -144,6 +144,6 @@ get.leaf.depth <- function(dt_tree) {
# They are mainly column names inferred by Data.table...
globalVariables(
c(
".N", "N", "Depth", "Quality", "Cover", "Tree", "ID", "Yes", "No", "Feature"
".N", "N", "Depth", "Quality", "Cover", "Tree", "ID", "Yes", "No", "Feature", "Leaf", "Weight"
)
)