From 9d6eecf34e88e331c92fd89ef61f042d6cdd9a50 Mon Sep 17 00:00:00 2001 From: El Potaeto Date: Fri, 9 Jan 2015 11:07:53 +0100 Subject: [PATCH] small change in import lib --- R-package/NAMESPACE | 1 - R-package/R/xgb.dump.R | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/R-package/NAMESPACE b/R-package/NAMESPACE index a36e066ef..23de90d28 100644 --- a/R-package/NAMESPACE +++ b/R-package/NAMESPACE @@ -32,6 +32,5 @@ importFrom(stringr,str_extract) importFrom(stringr,str_extract_all) importFrom(stringr,str_match) importFrom(stringr,str_replace) -importFrom(stringr,str_replace_all) importFrom(stringr,str_split) importFrom(stringr,str_trim) diff --git a/R-package/R/xgb.dump.R b/R-package/R/xgb.dump.R index 7049257f8..ceb68c1a3 100644 --- a/R-package/R/xgb.dump.R +++ b/R-package/R/xgb.dump.R @@ -4,7 +4,7 @@ #' #' @importFrom magrittr %>% #' @importFrom stringr str_split -#' @importFrom stringr str_replace_all +#' @importFrom stringr str_replace #' @param model the model object. #' @param fname the name of the text file where to save the model. If not provided or set to \code{NULL} the function will return the model as a \code{character} vector. #' @param fmap feature map file representing the type of feature.