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

@@ -82,4 +82,7 @@ linearDump <- function(feature_names, text){
which(text == "weight:") %>% {a=.+1;text[a:length(text)]} %>% as.numeric %>% data.table(Feature = feature_names, Weight = .)
}
# 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(".")