summaryrefslogtreecommitdiff
path: root/textproc/R-stringr
AgeCommit message (Collapse)AuthorFilesLines
2016-12-18Update to 1.1.0wen2-7/+7
Upstream changes: stringr 1.1.0 Add sample datasets: fruit, words and sentences. fixed(), regex(), and coll() now throw an error if you use them with anything other than a plain string (#60). I've clarified that the replacement for perl() is regex() not regexp() (#61). boundary() has improved defaults when splitting on non-word boundaries (#58, @lmullen). str_detect() now can detect boundaries (by checking for a str_count() > 0) (#120). str_subset() works similarly. str_extract() and str_extract_all() now work with boundary(). This is particularly useful if you want to extract logical constructs like words or sentences. str_extract_all() respects the simplify argument when used with fixed() matches. str_subset() now respects custom options for fixed() patterns (#79, @gagolews). str_replace() and str_replace_all() now behave correctly when a replacement string contains $s, \\\\1, etc. (#83, #99). str_split() gains a simplify argument to match str_extract_all() etc. str_view() and str_view_all() create HTML widgets that display regular expression matches (#96). word() returns NA for indexes greater than number of words (#112).
2016-01-01Update to 1.0.0wen2-8/+11
Add missing DEPENDS Remove period from COMMENT Upstream changelog not found.
2015-11-04Add SHA512 digests for distfiles for textproc categoryagc1-1/+2
Problems found locating distfiles: Package cabocha: missing distfile cabocha-0.68.tar.bz2 Package convertlit: missing distfile clit18src.zip Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2014-09-19Initial import of stringr v0.6.2 as textproc/R-stringr.brook3-0/+26
stringr is a set of simple wrappers that make R's string functions more consistent, simpler and easier to use. It does this by ensuring that: function and argument names (and positions) are 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. Note: this commit is part of reorganizing some of the recently imported R packages, which are being reimported into more appropriate categories (and removed from math) as a result of a recent discussion on tech-pkg and privately with wiz@. See the thread starting with: http://mail-index.netbsd.org/tech-pkg/2014/09/05/msg013558.html