Permalink
Browse files

Fix doc typo

  • Loading branch information...
1 parent d9ba3f3 commit 480234797f63072a0c4d1491e565bcd27b5b337a @hadley hadley committed May 8, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 R/replace.r
  2. +1 −1 man/str_replace_all.Rd
View
@@ -44,7 +44,7 @@ str_replace <- function(string, pattern, replacement) {
#' @return character vector.
#' @keywords character
#' @seealso \code{\link{gsub}} which this function wraps,
-#' \code{\link{str_replace_all}} to replace a single match
+#' \code{\link{str_replace}} to replace a single match
#' @export
#' @examples
#' fruits <- c("one apple", "two pears", "three bananas")
View
@@ -40,7 +40,7 @@ str_replace_all(fruits, c("a", "e", "i"), "-")
}
\seealso{
\code{\link{gsub}} which this function wraps,
- \code{\link{str_replace_all}} to replace a single match
+ \code{\link{str_replace}} to replace a single match
}
\keyword{character}

0 comments on commit 4802347

Please sign in to comment.