Code: Lint fixes on trailing spaces

This commit is contained in:
terrytangyuan
2015-10-24 16:50:03 -04:00
parent 537b34dc6f
commit 139feaf97a
7 changed files with 86 additions and 86 deletions

View File

@@ -17,9 +17,9 @@
#' @export
#'
xgb.load <- function(modelfile) {
if (is.null(modelfile))
if (is.null(modelfile))
stop("xgb.load: modelfile cannot be NULL")
handle <- xgb.Booster(modelfile = modelfile)
# re-use modelfile if it is raw so we donot need to serialize
if (typeof(modelfile) == "raw") {
@@ -29,4 +29,4 @@ xgb.load <- function(modelfile) {
}
bst <- xgb.Booster.check(bst)
return(bst)
}
}