Skip to content

Commit

Permalink
Import plyr, not require it
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Aug 24, 2010
1 parent 522496e commit 725093f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: stringr is a set of simple wrappers that make R's string
consistent, all functions deal with NA's and zero length character
appropriately, and the output data structures from each function
matches the input data structures of other functions.
Depends: plyr
Imports: plyr
License: GPL-2
Collate: 'c.r' 'checks.r' 'detect.r' 'dup.r' 'extract.r' 'length.r'
'locate.r' 'match.r' 'modifiers.r' 'pad-trim.r' 'replace.r'
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import(plyr)
export(str_c)
export(str_detect)
export(str_dup)
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ stringr 0.4
the string. -1 replaces Inf as indicator for string end.
* str_pad side argument can be left, right, or both (instead of center)
* str_trim gains side argument to better match str_pad
* stringr now has a namespace
* stringr now has a namespace and imports plyr (rather than requiring it)

stringr 0.3
===========
Expand Down
1 change: 1 addition & 0 deletions R/c.r
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#' @keywords character
#' @seealso \code{\link{paste}} which this function wraps
#' @aliases str_c str_join
#' @import plyr
#' @export
#' @examples
#' str_c("Letter: ", letters)
Expand Down

0 comments on commit 725093f

Please sign in to comment.