diff --git a/R/worker_func.R b/R/worker_func.R index e6a9c88..4e2662b 100644 --- a/R/worker_func.R +++ b/R/worker_func.R @@ -38,7 +38,10 @@ new_user_word = function(worker, words, tags = rep("n", length(words))){ #' @return a list with words, start position, and end position #' @export #' @examples +#' \dontrun{ #' words_locate(c("this","is","a", "test")) +#' } +#' #' words_locate = function(words){ warning("This function is depreciated, and will be removed in the next version due to the upstream apis changes.") diff --git a/man/words_locate.Rd b/man/words_locate.Rd index bb3497a..6daf2b4 100644 --- a/man/words_locate.Rd +++ b/man/words_locate.Rd @@ -16,7 +16,10 @@ a list with words, start position, and end position Depreciated. This function will be remove in the next version. } \examples{ +\dontrun{ words_locate(c("this","is","a", "test")) +} + }